fix: WithMargin index

This commit is contained in:
hrsonion 2019-06-13 15:51:08 +08:00
parent f910ea5101
commit da67044b0e
2 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "naive-ui",
"version": "0.1.7",
"version": "0.1.8",
"description": "",
"main": "index.js",
"scripts": {
@ -44,9 +44,7 @@
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^3.0.5",
"mocha": "^6.1.4",
"node-sass": "^4.12.0",
"progress-bar-webpack-plugin": "^1.12.1",
"sass-loader": "^7.1.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"style-loader": "^0.23.1",
@ -61,6 +59,8 @@
},
"dependencies": {
"ionicons": "^4.5.8",
"masonry-layout": "^4.2.2"
"masonry-layout": "^4.2.2",
"sass-loader": "^7.1.0",
"node-sass": "^4.12.0"
}
}

View File

@ -0,0 +1,7 @@
import WithMargin from './src/main.vue'
WithMargin.install = function (Vue) {
Vue.component(WithMargin.name, WithMargin)
}
export default WithMargin