TodoMVC implementation built to try Vue.js 2 using the webpack-simple template.
- master: Basic implementation
- bus: Using a central event bus
- vuex: Using Vuex
- Firebase: Using VueFire
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# install dependencies
yarn install
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
If you want to try the Firebase sample you'll need to set up the configuration values in App.vue:
const firebaseConfig = {
apiKey: "-------",
authDomain: "-------",
databaseURL: "-------",
projectId: "-------",
storageBucket: "-------",
messagingSenderId: "-------"
}
with the values of your firebase app.
For detailed explanation on how things work, consult the docs for vue-loader.