Skip to content

olegkorol/vue-fire-ts-template

Repository files navigation

Vuextifire.ts

Description

This is a simple template meant to help quick-starting Vue projects with Firebase.

What comes in out-of-the-box

Some of the features are:

  • Vue CLI
  • PWA support (custom)
  • Vuex
  • Vuetify
  • Firebase integration (w/ Vuexfire)
    • Auth
    • Firestore
    • Storage
  • Multi-environment setup (dev & prod)

PWA: Important

Make sure to update the package version in sw.js and package.json for each new deployment!

TODO: automate this flow / find alternative solution.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

# Firebase development environment
npm run build:dev

or

# Firebase production environment
npm run build:prod

Run your unit tests

npm run test:unit

Run your end-to-end tests

npm run test:e2e

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.