Browse by Tags
Sorry, but there are no more tags available to filter with.
-
Vue筆記3-Vue TypeScript 定義檔簡便做法
-
要用 TypeScript 寫 Vue 程式,首先要取得 Vue.js TypeScript 定義檔才能享受強型別的好處。 Vue 2.0 釋出於 2016/9/30(最新版為 2.5 版),NuGet 上的 vue.TypeScript.DefinitelyTyped 更新時間為 2016/9/26,版本只到 1.0,己不適用最新版 Vue.js。(前端開發者已多改從 npm 體系取得定義檔,猜想 NuGet 定義檔因此不再更新) 因此,我們可改由 Vue Github 取得最新定義檔: https...