My perfect Nuxt.js project
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, checkout Nuxt.js docs.
❯ npx create-nuxt-app .
npx: 379個のパッケージを35.714秒でインストールしました。
create-nuxt-app v2.8.0
✨ Generating Nuxt.js project in /Users/yoshikimasubuchi/.ghq/github.com/yoshixj/nuxt-sample
? Project name nuxt-sample
? Project description My perfect Nuxt.js project
? Author name yoshikimasubuchi
? Choose the package manager Yarn
? Choose UI framework Vuetify.js
? Choose custom server framework None (Recommended)
? Choose Nuxt.js modules (Press <space> to select, <a> to toggle all, <i> to invert selection)
? Choose linting tools (Press <space> to select, <a> to toggle all, <i> to invert selection)
? Choose test framework Jest
? Choose rendering mode Universal (SSR)
🎉 Successfully created project nuxt-sample
To get started:
yarn dev
To build & start for production:
yarn build
yarn start
To test:
yarn test