$ npm install --only=dev
$ npm install
$ npm run dev
$ npm run build
Compiled code will be in ./server/public/dist/
folder.
We set NPM_CONFIG_PRODUCTION
to false
to install devDependencies
$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ npm install --only=dev
$ npm install
$ npm run dev
$ npm run build
Compiled code will be in ./server/public/dist/
folder.
We set NPM_CONFIG_PRODUCTION
to false
to install devDependencies
$ heroku config:set NPM_CONFIG_PRODUCTION=false