Vue.js 練習手冊
基礎教學
模板指令
組件
常用 API
ES6
components
基礎元件
元件必須使用 function return
由外到內的資料傳遞
Props 注意事項
Props 的型別
向外層傳送事件(Data)
Slot 插槽替換
動態組建切換
Event Bus
作業練習:元件變換
基礎元件練習
使用 x-template 建立表格元件
使用 is 掛載 template
使用 prop 傳遞資料
說明局部註冊及全域註冊
{{ item.name }}
{{ item.cash }}
{{ item.icash }}