Closed UltramarineLights closed 5 years ago
What is the error and what version of nuxt are you using @UltramarineLights ?
It does not give an error, it simply doesn't display even if all the code added by the directive is there in the browser inspector. I'm using the latest Nuxt 1 version.
Hello @UltramarineLights , In order to make vue-bar work with Nuxt, you need to create a plugin and add it to the configuration, then you're good to go.
Here's how you do it:
import Vue from 'vue';
import Vuebar from 'vuebar';
Vue.use(Vuebar);
2. Add the plugin to the nuxt.config.js
... / Plugins to load before mounting the App */ plugins: [ ... '~/plugins/vue-bar', ... ], ...
3. Now you can use the plugin normally
Let us know if you have any problems.
Cheers!
Hi @zeknoss, thanks for providing help on this issue ❤
Hi! I'm trying to get vuebar to work in Nuxt but it does not work, I can see all the code is added through the inspector but no result, could it be due to the layout functionality of Nuxt? Thank you