This commit is contained in:
zazzaz 2020-07-21 18:40:15 +08:00
parent 1e981eadc9
commit 2b0f192c52
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { install } from './components/button/index'
import ButtonInstall from './components/button/index'
export const installAll = (app) => {
install(app)
ButtonInstall(app)
}

View File

@ -1,5 +1,5 @@
import { App } from 'vue'
import Button from './src/index.vue'
export const install = function(app: App) {
export default (app: App) => {
app.component(Button.name, Button)
}