A boilerplate for web applications using Vue.js and Firebase, ft. Webpack and ESLint.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Initial commit Jan 5, 2017
config Initial commit Jan 5, 2017
src More specific firebase instructions. Jan 5, 2017
static
test Initial commit Jan 5, 2017
.babelrc Initial commit Jan 5, 2017
.editorconfig
.eslintignore Initial commit Jan 5, 2017
.eslintrc.js Initial commit Jan 5, 2017
.gitignore Live firebase demo, deploy info Jan 5, 2017
README.md More detailed intro Jan 5, 2017
database.rules.json Live firebase demo, deploy info Jan 5, 2017
index.html Initial commit Jan 5, 2017
package.json Initial commit Jan 5, 2017

README.md

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 and docs for vue-loader.

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

# 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