Open rizahassan opened 4 years ago
I installed the carousel globally on NuxtJS. To install globally, I added a file called carousel.js in /plugins and it contains
import Vue from 'vue'; import Carousel3d from 'vue-carousel-3d;
Vue.use(Carousel3d);`
Then, I added the src file on the plugins array in nuxt.config.js as the code below: plugins:[{src:'~/plugins/carousel
plugins:[{src:'~/plugins/carousel
It works on my local but not after deploying it on Netlify.
I installed the carousel globally on NuxtJS. To install globally, I added a file called carousel.js in /plugins and it contains
Vue.use(Carousel3d);`
Then, I added the src file on the plugins array in nuxt.config.js as the code below:
plugins:[{src:'~/plugins/carousel
It works on my local but not after deploying it on Netlify.