mirror of
https://github.com/coreui/coreui-icons.git
synced 2025-08-22 08:12:56 +02:00
feat: change CIcon component mechanism
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import Icons from '../js'
|
||||
import CIcon from './CIcon'
|
||||
|
||||
export { CIcon }
|
||||
|
||||
const CIconPlugin = {
|
||||
install (Vue) {
|
||||
CIcon.icons = Icons
|
||||
install (Vue, customIconSet) {
|
||||
CIcon.icons = customIconSet
|
||||
Vue.component('CIcon', CIcon)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user