@4kda/vuetify-cifrum-icons
@4kda/vuetify-cifrum-icons
The Cifrum icons for Vuetify.
Install
$ npm install @4kda/vuetify-cifrum-icons
or
$ yarn add @4kda/vuetify-cifrum-icons
Usage
import Vue from 'vue'
const requireComponent = require.context(
'@4kda/vuetify-cifrum-icons/lib/components/icons/',
false,
/\.(js|vue)$/i,
'lazy'
)
requireComponent.keys().forEach((componentFilePath) => {
const componentName = componentFilePath.split('/').pop().split('.')[0]
Vue.component(`CfrIcon${componentName}`, () =>
import(`@4kda/vuetify-cifrum-icons/lib/components/icons/${componentName}`)
)
})
import Vue from 'vue';
import Vuetify from 'vuetify/lib';
import CFR_ICONS from '@4kda/vuetify-cifrum-icons/lib/vuetify-cifrum-icons.js'
Vue.use(Vuetify);
const requireComponent = require.context(
'@4kda/vuetify-cifrum-icons/lib/components/icons/',
false,
/\.(js|vue)$/i,
'lazy'
)
requireComponent.keys().forEach((componentFilePath) => {
const componentName = componentFilePath.split('/').pop().split('.')[0]
Vue.component(`CfrIcon${componentName}`, () =>
import(`@4kda/vuetify-cifrum-icons/lib/components/icons/${componentName}`)
)
})
export default new Vuetify({
icons: {
values: {
...CFR_ICONS,
dropdown: CFR_ICONS.chevronDown,
clear: CFR_ICONS.close,
},
},
});
Usage Nuxt
In nuxt.config.js
import CFR_ICONS from '@4kda/vuetify-cifrum-icons/lib/vuetify-cifrum-icons.js'
export default {
plugins: [
'@4kda/vuetify-cifrum-icons/lib/components.js',
],
vuetify: {
icons: {
values: {
...CFR_ICONS,
dropdown: CFR_ICONS.chevronDown,
clear: CFR_ICONS.close,
prev: CFR_ICONS.chevronLeft,
next: CFR_ICONS.chevronRight,
checkboxOn: CFR_ICONS.checkboxOn,
checkboxOff: CFR_ICONS.checkboxOff,
checkboxIndeterminate: CFR_ICONS.checkboxIndeterminate,
}
}
}
}
Related Packages
@vue-hero-icons/outline
A set of free MIT-licensed high-quality SVG icons as Vue functional components.
246,298
101
Version History
| Version | Released | License |
|---|---|---|
| 0.0.50 | ISC | |
| 0.0.47 | ISC | |
| 0.0.41 | ISC | |
| 0.0.40 | ISC | |
| 0.0.39 | ISC | |
| 0.0.38 | ISC | |
| 0.0.37 | ISC | |
| 0.0.36 | ISC | |
| 0.0.35 | ISC | |
| 0.0.34 | ISC | |
| 0.0.33 | ISC | |
| 0.0.32 | ISC | |
| 0.0.31 | ISC | |
| 0.0.30 | ISC | |
| 0.0.29 | ISC | |
| 0.0.28 | ISC | |
| 0.0.27 | ISC | |
| 0.0.26 | ISC | |
| 0.0.25 | ISC | |
| 0.0.24 | ISC | |
| 0.0.23 | ISC | |
| 0.0.22 | ISC | |
| 0.0.21 | ISC | |
| 0.0.20 | ISC | |
| 0.0.19 | ISC | |
| 0.0.18 | ISC | |
| 0.0.17 | ISC | |
| 0.0.15 | ISC | |
| 0.0.14 | ISC | |
| 0.0.13 | ISC |
Showing the latest 30 of 37. See every release on npm