Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.92 KB

HOWTO.md

File metadata and controls

42 lines (36 loc) · 1.92 KB

How to start

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

Features

  • Your source code are here ./src:
    • HTML template ./src/index.html
    • Styles in file ./src/styles.css
    • Entry point ./src/index.js
  • 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 command npm run build.

Tested on:

  • Windows 10 (version 1803)
  • MacOS High Sierra (version 10.13)
  • Debian 9

Using

  • Run the command npm i to install all needed dependencies.
  • Other commands:
    • npm run start - to start Webpack Dev Server
    • npm run build - to compile your app with production mode in Webpack into folder ./dist
  • Local web server started at htpp://localhost:9000

References