Ecosyste.ms: Awesome

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

https://github.com/sejr/vuefire-quickstart

A boilerplate for web applications using Vue.js and Firebase, ft. Webpack and ESLint.
https://github.com/sejr/vuefire-quickstart

Last synced: 19 days ago
JSON representation

A boilerplate for web applications using Vue.js and Firebase, ft. Webpack and ESLint.

Lists

README

        

# vuefire-quickstart

> **vuefire-quickstart** makes web application development with Vue.js and Firebase
simple, providing the required npm modules and helpful comments. In the future we will
likely move toward a more opinionated structure that allows for rapid project
scaffolding. It comes bundled with webpack and Babel so you can tap into the
latest trends in JavaScript app development.

[**A demo version is available here:** https://vuefire-quickstart-demo.firebaseapp.com/]
(https://vuefire-quickstart-demo.firebaseapp.com/)

## Build Setup

For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test
```

## Deploy to Firebase

**Note:** When deploying with Firebase, you will be prompted for the directory
name that contains your built app. By default, Firebase searches for a `public`
directory. You should change this to `dist` to avoid having to modify the build
process that came with the template.

``` bash

# build for production with minification
npm run build

# make sure you've installed the firebase CLI
npm install -g firebase-tools

# initialize a firebase app; see above note
firebase init

# deploy to firebase servers
firebase deploy

```