Compare commits

..

2 Commits

Author SHA1 Message Date
baileijun 648aa48f08 1 2024-06-29 20:16:49 +08:00
baileijun 0732434efc 1 2024-06-29 20:14:44 +08:00
2 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
"lib": "vue-cli-service build --target lib packages/index.js" "lib": "vue-cli-service build --target lib --dest lib packages/index.js"
}, },
"main": "./lib/myErpElement.umd.min.js", "main": "./lib/myErpElement.umd.min.js",
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
// 导入button组件 // 导入button组件
import mButton from './Button/src/index' import mButton from './Button/index'
import mButton1 from './Button1/src/index' import mButton1 from './Button1/index'
// 组件列表 // 组件列表
const components = [ const components = [
@ -25,5 +25,8 @@ export default {
install, install,
} }
export { export {
install,mButton,mButton1 install,
// 以下是具体的组件列表
mButton,
mButton1,
} }