Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nuxt-community/pwa-template

PWA template for vue-cli based on the starter template
https://github.com/nuxt-community/pwa-template

nuxt nuxt-template pwa vue

Last synced: 3 days ago
JSON representation

PWA template for vue-cli based on the starter template

Awesome Lists containing this project

README

        

# PWA

A [Nuxt.js](https://github.com/nuxt/nuxt.js) PWA template without the distraction of a complicated development environment.

Live demo: [coming soon]

**This template is still under development, feedback welcome!**

## Installation

This is a project template for [vue-cli](https://github.com/vuejs/vue-cli).

``` bash
$ vue init nuxt-community/pwa-template my-project
$ cd my-project
# install dependencies
$ npm install # Or yarn install
```

> Make sure to use a version of vue-cli >= 2.1 (`vue -V`).

## Usage

### Development

``` bash
# serve with hot reloading at localhost:3000
$ npm run dev
```

Go to [http://localhost:3000](http://localhost:3000)

### Production

``` bash
# build for production and launch the server
$ npm run build
$ npm start
```

### Generate

``` bash
# generate a static project
$ npm run generate
```