kavalcante / nuxt-element-apollo

Nuxt boilerplate with Element (custom theme) and Vue Apollo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Nuxt boilerplate with Element (custom theme) and Vue Apollo


Languages

Language:CSS 79.3%Language:Vue 13.0%Language:JavaScript 7.8%