Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 15 days ago
JSON representation

Nuxt boilerplate with Element (custom theme) and Vue Apollo

Awesome Lists containing this project

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).