0.1.5 • Published 3 years ago

vields-iconset v0.1.5

Weekly downloads
64
License
-
Repository
-
Last release
3 years ago

vields-iconset

Project setup

yarn add vields-iconset

Add the icon components to your vue plugin directory ba adding the below text to a file like vields-iconset

import Vue from 'vue'; const requireComponent = require.context( 'vields-iconset/src/components/', true, /^.\/.*\$/, 'sync' ); const components = {};

requireComponent.keys().forEach(fileName => { // Get the component config const componentConfig = requireComponent(fileName); // Globally register the component const component = { name: componentConfig.default.name, file: componentConfig.default }; Vue.component(component.name, component.file); componentscomponent.name = component.file; }); export default () => { Vue.use(components); };

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago