GithubHelp home page GithubHelp logo

nixegend / webpack-5-react-typescript-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from persteenolsen/webpack-5-react-typescript-boilerplate

0.0 0.0 0.0 505 KB

Webpack 5 React TypeScript Babel and PostCSS boilerplate ready for use React with both JS and TS

Home Page: https://webpack5reacttypescript.persteenolsen.com/

JavaScript 52.88% TypeScript 40.05% HTML 5.48% SCSS 1.59%

webpack-5-react-typescript-boilerplate's Introduction

Webpack 5 React TypeScript Boilerplate

Webpack 5 boilerplate using React, TypeScript, Babel 7, PostCSS and Sass with a hot dev server and an optimized production build. Babel compiles TypeScript to ES5. The Webpack plugin fork-ts-checker-webpack-plugin does the type checking. It is possible to use both React with JS in .jsx files and React with TS in .tsx files. Except from the main index.js and the webpack files the modules are ready in jsx and tsx.

Usage

Installing

  • Make sure you have a new version of Node installed
  • Download the code by zip or fork
  • Run the command npm install by the command promt

Development server:

  • npm run start
  • You can view the development server at localhost:8080.

Production build:

  • npm run build

To view the build use http-server:

  • npm run prod

Features

Dependencies

React

  • react - React is a JavaScript library for creating user interfaces. For creating React components.
  • react-dom - This package serves as the entry point to the DOM and server renderers for React.
  • react-router-dom - This package serves as DOM for React Router.
  • react-hook-form - Forms in Reack.

Babel

  • @babel-runtime - Babel Runtime for dev babel/plugin-transform-runtime.

Other

  • core-js - Main Library with polyfills for older Browsers
  • whatwg-fetch - For making promise based web request progammitically

devDependencies

TypeScript

webpack

Loaders

Babel

Plugins

Author

  • Per Olsen

License

This project is open source and available under the MIT License.

webpack-5-react-typescript-boilerplate's People

Contributors

persteenolsen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.