https://github.com/kavalcante/nuxt-element-apollo
Nuxt boilerplate with Element (custom theme) and Vue Apollo
https://github.com/kavalcante/nuxt-element-apollo
Last synced: 9 months ago
JSON representation
Nuxt boilerplate with Element (custom theme) and Vue Apollo
- Host: GitHub
- URL: https://github.com/kavalcante/nuxt-element-apollo
- Owner: kavalcante
- Created: 2018-07-23T22:21:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T15:39:10.000Z (over 7 years ago)
- Last Synced: 2025-03-18T19:18:42.400Z (9 months ago)
- Language: CSS
- Size: 287 KB
- Stars: 27
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - Nuxt + Apollo + Element ★18
- awesome-vue - Nuxt + Apollo + Element - Nuxt boilerplate with Element (custom theme) and Vue Apollo (Examples [🔝](#readme))
- awesome-element - nuxt-element-apollo
- awesome-vue - Nuxt + Apollo + Element
- awesome-vue - Nuxt + Apollo + Element
README
> Nuxt.js boilerplate
## What's included
- Nuxt
- Vue Apollo
- Element UI (with custom theme)
- PWA module
- Eslint (Airbnb styleguide)
## Build Setup
``` bash
# 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](https://github.com/nuxt/nuxt.js).