Skip to content

Commit

Permalink
fix(lib): meaningless use(Buefy) (#257)
Browse files Browse the repository at this point in the history
Fixes the issue that `use(Buefy)` in the root index file was
meaningless or rather harmful to Vue 3 apps. It caused a "not a
function" error in some environment:
see #221 (comment)
Simply removes `use(Buefy)` in the root index file.
  • Loading branch information
kikuomax committed Jun 26, 2024
1 parent f0e1ac5 commit ca1c738
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/buefy-next/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as components from './components'

import { merge } from './utils/helpers'
import config, { setOptions, setVueInstance } from './utils/config'
import { use, registerComponentProgrammatic } from './utils/plugins'
import { registerComponentProgrammatic } from './utils/plugins'

import ConfigComponent from './utils/ConfigComponent'

Expand All @@ -22,8 +22,6 @@ const Buefy = {
}
}

use(Buefy)

export default Buefy

// export all components as vue plugin
Expand Down

0 comments on commit ca1c738

Please sign in to comment.