Compare commits
No commits in common. "648aa48f08cfe460d894bd33ea4fbb50bd8a0a89" and "90d1a983e0ae1d0126c90dc202b0705447fd1527" have entirely different histories.
648aa48f08
...
90d1a983e0
|
@ -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 --dest lib packages/index.js"
|
"lib": "vue-cli-service build --target lib packages/index.js"
|
||||||
},
|
},
|
||||||
"main": "./lib/myErpElement.umd.min.js",
|
"main": "./lib/myErpElement.umd.min.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// 导入button组件
|
// 导入button组件
|
||||||
import mButton from './Button/index'
|
import mButton from './Button/src/index'
|
||||||
import mButton1 from './Button1/index'
|
import mButton1 from './Button1/src/index'
|
||||||
|
|
||||||
// 组件列表
|
// 组件列表
|
||||||
const components = [
|
const components = [
|
||||||
mButton, mButton1
|
mButton,mButton1
|
||||||
]
|
]
|
||||||
|
|
||||||
// 定义 install 方法,接收 Vue 作为参数(使用 use 注册插件,那么所有的组件都会被注册)
|
// 定义 install 方法,接收 Vue 作为参数(使用 use 注册插件,那么所有的组件都会被注册)
|
||||||
|
@ -25,8 +25,5 @@ export default {
|
||||||
install,
|
install,
|
||||||
}
|
}
|
||||||
export {
|
export {
|
||||||
install,
|
install,mButton,mButton1
|
||||||
// 以下是具体的组件列表
|
|
||||||
mButton,
|
|
||||||
mButton1,
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue