Skip to content

Nuxt boilerplate with Element (custom theme) and Vue Apollo

Notifications You must be signed in to change notification settings

kavalcante/nuxt-element-apollo

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published