vue註冊全局組件

vue註冊全局組件 1.在components文件夾下創建aside文件夾 創建index.vue和index.js文件 2.在index.js中暴露組件 3.在main.js中引入全局組件 4.頁面中調用 5.打完收工!
相關文章
相關標籤/搜索