This project is generated from npm package code-template-generator
Main packages | Version | Notes |
---|---|---|
React | 16.5 | |
Babel | 7.1 | Babel 7 released and removing Babel's stage presets |
Babel Loader | 8.0 | |
Webpack | 4.19 | |
Webpack Dev Server | 3.1 |
Other packages
- Your source code are here
./src
:- HTML template
./src/index.html
- Styles in file
./src/styles.css
- Entry point
./src/index.js
- HTML template
- Auto refresh whenever you make a change in your code.
- Your code compiled into directory
./dist
with three separate file extensions*.html, *.css, *.js
. - Directory
./dist
is deleted and then created automatic every time you run the commandnpm run build
.
Tested on:
- Windows 10 (version 1803)
- MacOS High Sierra (version 10.13)
- Debian 9
- Run the command
npm i
to install all needed dependencies. - Other commands:
npm run start
- to start Webpack Dev Servernpm run build
- to compile your app with production mode in Webpack into folder./dist
- Local web server started at
htpp://localhost:9000