Webpack使用Vue

Webpack配置使用Vue 首先把上篇所寫的代碼複製一份。接着引入vue。通過npm install vue --save下載 接着在main.js中導入vue並編寫 接着編寫index.html。添加id,使用差值表達式 使用npm run build重新打包項目。查看頁面 發現報錯You are using the runtime-only build of Vue where the te
相關文章
相關標籤/搜索