vue-zondicons icon indicating copy to clipboard operation
vue-zondicons copied to clipboard

Will this work on nuxt?

Open benwinding opened this issue 6 years ago • 1 comments

I can't get this package working on nuxt, are there any special requirements?

benwinding avatar Feb 20 '19 14:02 benwinding

I would suggest setting it up as a plugin:

plugins/zondicons.js

import Vue from 'vue' import Zondicon from 'vue-zondicons' Vue.component('Zondicon', Zondicon)

nuxt.config.js plugins: ['~/plugins/zondicons'],

Then use as described in the readme in your vue components: <Zondicon icon="bolt" class="fill-current text-red " />

craigharman avatar Nov 21 '19 09:11 craigharman