vue在js公用文件中使用this
时间:2021-09-01 20:28:50
收藏:0
阅读:33
main.js 中
let $vue = new Vue({ router, el: ‘#app‘, render: h => h(App) }); export default $vue
在js文件中,直接使用$vue即可
原文:https://www.cnblogs.com/hechen-xuan/p/15206034.html
评论(0)