I have a problem with my VUE js project. I use the library VueperSlides and it's run correctly but my problem, is that the slider is imported in the components App.vue and it's displayed. I want to display the slider only in my Slider component. I have a router link which runs correctly.
Asked
Active
Viewed 211 times
1 Answers
0
Just import it on your HomePage.vue:
import { VueperSlides, VueperSlide } from "vueperslides";
import "vueperslides/dist/vueperslides.css";
export default {
components: {
VueperSlides,
VueperSlide
},
// ...
}
Then use vueper-slides
and vueper-slide
components on your template.

Hans Felix Ramos
- 4,264
- 3
- 16
- 40
-
Yes i did it , but when, i put away the slider in the app.vue component, it's disappear in the Slider.Vue component – Toshiro MPIKA May 07 '20 at 19:20