A quick seed to enable a rapid setup for your application.
It only requires Node.js v6. For more details, follow instructions on https://nodejs.org
Download this repository as a .zip file and extract to whatever folder you like. In order to install dependencies, run the following command in your terminal
npm install
Check package.json file for more details on dependencies. Some of them are explained below.
Starting the development will concurrently start a server and build your files, watching for changes. To do so, run the following command in your terminal:
npm start
It runs automatically and concurrently
npm run server
that spawns a server withwsrv ./src -p 9000 -s -l
- compiles your files and watches for changes with
webpack -d --watch
For more details check wsrv package details and webpack 2.x page.
Open your favourite browser at http://localhost:9000 address (due to -l
flag of wsrv
command, it will lively reload after any code change :)
This seed was inspired by Setting Up a React.js Environment Using Npm, Babel 6 and Webpack and updated to handle more starting development needs.