使用 执行命令: npm install ./shared-mobile app.vue @import "shared-mobile/index.less"; main.js import sharedMobile from 'shared-mobile' Vue.use(sharedMobile, { appType: 'DMS|ERP|...' }) pages.json 配置easydom "^shared-(.*)": "shared-mobile/components/shared-$1/shared-$1.vue" 文件夹 base: shared项目内使用的组件 pages:可以对外提供页面 components: 对外提供组件(easydom格式:shared-[name].vue) plugins: 配置插件 libs : 其他库