1
0
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:
woothu
2019-06-14 10:51:08 +02:00
parent ad30e7ae7d
commit 71b9cad7ee
2 changed files with 26 additions and 15 deletions

View File

@@ -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)
}
}