volkskrant-components
v0.1.0
Published
Volkskrant Kijk Verder Vue component library.
Downloads
4
Readme
Volkskrant Components
Volkskrant Kijk Verder Vue component library.
Import
First add the module to your dependencies by running yarn add https://bitbucket.org/persgroep/volkskrant-components/
.
Then add the components on a higher level (App.vue
or default layout in Nuxt) by adding:
import Vue from 'vue';
import VkComponents from 'volkskrant-components';
Object.entries(VkComponents).forEach(component => {
Vue.component(component[0], component[1]);
});