摘要: vue批量注册组件 在components新建index.js文件 import Vue from 'vue' // 使用 webpack 读取文件 // 这段代码表示 读取 ./目录下 且不加载子目录 找到 .vue 的文件 const importCom = require.context('. 阅读全文
posted @ 2023-05-11 10:26 加利福尼亚的阳光 阅读(12) 评论(0) 推荐(0)