Starter
A Nuxt.js starter project template without
the distraction of a complicated development environment. Also, provides linting
with eslint-airbnb.base
.
Credit goes to the fine folks in this GitHub issue thread.
Installation
This is a project template for vue-cli.
$ vue init dfee/nuxt-starter-template-airbnb my-project
$ cd my-project
# install dependencies
$ npm install # Or yarn install
Make sure to use a version of vue-cli >= 2.1 (
vue -V
).
Usage
Development
# serve with hot reloading at localhost:3000
$ npm run dev
Go to http://localhost:3000
Production
# build for production and launch the server
$ npm run build
$ npm start
Generate
# generate a static project
$ npm run generate