Awesome
TodoMVC with Vue.js 2 + Webpack
TodoMVC implementation built to try Vue.js 2 using the webpack-simple template.
Branches
- master: Basic implementation
- bus: Using a central event bus
- vuex: Using Vuex
- Firebase: Using VueFire
Build Setup
NPM
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
Yarn
# 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.