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
相关文章
相关标签/搜索