Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.54 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.54 KB

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