mirror of
https://github.com/coreui/coreui-icons.git
synced 2025-08-22 08:12:56 +02:00
feat: add vue CIcon component and CIcon plugin containing all icons
This commit is contained in:
12
vue/index.js
Normal file
12
vue/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import Icons from '../js/iconsGenerated.js'
|
||||
import CIcon from './CIcon'
|
||||
|
||||
export { CIcon }
|
||||
|
||||
const VueCIconPlugin = {
|
||||
install (Vue) {
|
||||
CIcon.icons = Icons
|
||||
Vue.component('CIcon', CIcon)
|
||||
}
|
||||
}
|
||||
export { VueCIconPlugin }
|
Reference in New Issue
Block a user