Skip to content
Nuxt boilerplate with Element (custom theme) and Vue Apollo
Branch: master
Clone or download

Nuxt.js boilerplate

What's included

  • Nuxt
  • Vue Apollo
  • Element UI (with custom theme)
  • PWA module
  • Eslint (Airbnb styleguide)

Build Setup

# install dependencies
$ npm install # Or yarn install

# install Element CLI Theme Tool
$ npm install element-theme -g

# change element-variables.scss file with the colors of your project and then
$ et

# after theme is build, import the custom theme at
# ~/plugins/element-ui.js

# serve with hot reload at localhost:3000
# service worker is disabled in dev
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

You can’t perform that action at this time.