template for nuxt.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
template
LICENSE
README.md
meta.js

README.md

Starter

A Nuxt.js starter project template without the distraction of a complicated development environment.

Installation

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).

Usage

Development

# serve with hot reloading at localhost:3000
$ yarn run dev

Go to http://localhost:3000

Production

# build for production and launch the server
$ yarn build
$ yarn start

Generate

# generate a static project
$ yarn run generate

Deploy to heroku

$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ heroku config:set HOST=0.0.0.0
$ heroku config:set NODE_ENV=production