Front End code repo for Adroit Site Generator kit
- Node v8.3.0
- NPM v5.6.0
The client side application is comprised of the following technologies:
Visual Studio Code is a free code editor redefined and optimized for building and debugging modern web and cloud applications.
{
"editor.formatOnSave": true,
"[handlebars]": {
"editor.formatOnSave": false
},
"editor.renderWhitespace": "all"
}
- Go to the root folder (where package.json is available) and run the following command:s
$ npm install
- Go to the root folder and then to generators folder (where package.json is available) and run the following command:s
$ npm install
- Go back to the root folder and then run below command to start the server:
$ npm start
Please use the below command to create any new command:
$ node generators --name <component-name> --dir <director name>
Build application for Dev Env and runs webpack-dev-server
npm run web
Linting JavaScript code from command line
npm run lint
Build & Analyse the Webpack Build
npm run build:analyse
Simulate Prod Server: To avoid webpack-dev-server [publicPath & assets issue] after deployment
npm run serve