lemon5920 / vue-simple-count

Simple counter with vue + veux + vue-router.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-simple-count

Vue + Vue-router + Vuex

實作簡單的計數器。

以 Vue 為基礎,
Vue-router 實現 SPA (Single Page Application),
Vuex 讓資料傳遞更方便。

範例參考 Vuex

  1. counter-hot
  2. shopping-cart

2016/10/13 Yarn

使用 Yarn 管理套件,Speed Up Up 、套件版本統一。
如果還沒安裝 Yarn,執行:
curl -o- -L https://yarnpkg.com/install.sh | bash

2016/10/19

Upgrade to vue 2.0.

Build Setup

# install dependencies
yarn

# serve with hot reload at localhost:8080
yarn run dev

# build for production with minification
yarn run build

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

Simple counter with vue + veux + vue-router.


Languages

Language:JavaScript 91.8%Language:Vue 7.4%Language:HTML 0.8%