在此紀錄Vue常用的元件、用法整理,方便需要時參考使用。
這份比較偏向實際應用型,如果是基礎可以參考Learn-Vue這篇。
附註:此份專案使用官方提供Vue CLI產生
展示網站連結 https://yuhsiang237.github.io/vue-cheatsheet
已追加內容:
- 多頁面路由vue router配置
- Vuex 狀態管理配置
- IE11 支援配置
- 常見生命週期函式
- 父元件子元件溝通範例
- API串接範例
- 頁面特效
- 驗證錯誤用提示元件
- BootstrapVue Table元件使用範例
- SCSS編譯&Bootstrap配置
- 路由追蹤(未找到頁面匹配導向404頁面)
- 巢狀路由範例
npm install
npm run serve
npm run build
npm run lint
npm run build
cd dist
git init
git add -A
git commit -m 'deploy'
git push -f https://github.com/unromanticman/vue-cheatsheet.git master:gh-pages