本地開發、調試vue npm包

一、首先建立目錄 使用使用webpack-simple建立目錄結構 ​​​​ 入口文件名爲index.jsvue package.json 裏面添加webpack "main": "./src/index.js", index.js裏面寫:web import Login from './Login.vue' Login.install = function(Vue){ Vue.compon
相關文章
相關標籤/搜索