A Nuxt.js starter project template without the distraction of a complicated development environment.
This is a project template for vue-cli.
$ vue init shwld/nuxtfire.ts my-project
# install dependencies
$ yarn install
Make sure to use a version of vue-cli >= 2.1 (
vue -V
).
# serve with hot reloading at localhost:3000
$ yarn run dev
Go to http://localhost:3000
# build for production and launch the server
$ yarn build
$ yarn start
# generate a static project
$ yarn run generate
$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ heroku config:set HOST=0.0.0.0
$ heroku config:set NODE_ENV=production