This commit is contained in:
parent
b4b57f0424
commit
0732434efc
|
@ -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": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 导入button组件
|
// 导入button组件
|
||||||
import mButton from './Button/src/index.vue'
|
import mButton from './Button/index'
|
||||||
import mButton1 from './Button1/src/index.vue'
|
import mButton1 from './Button1/index'
|
||||||
|
|
||||||
// 组件列表
|
// 组件列表
|
||||||
const components = [
|
const components = [
|
||||||
|
@ -23,6 +23,9 @@ if (typeof window !== 'undefined' && window.Vue) {
|
||||||
export default {
|
export default {
|
||||||
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
||||||
install,
|
install,
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
install,
|
||||||
// 以下是具体的组件列表
|
// 以下是具体的组件列表
|
||||||
mButton,
|
mButton,
|
||||||
mButton1,
|
mButton1,
|
||||||
|
|
Loading…
Reference in New Issue