import PerfectScrollbar from 'vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.esm';
import 'vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.css';
// some code..
const app = createApp(component, Object.assign({}, rootEl.dataset));
app.use(PerfectScrollbar);
app.mount(`#${domId}`);
The app is working fine, and when I use the component, it does generate the div with the ps class, but that's it. No ps__rail-x div or anything like that, so it seems like the perfect-scrollbar plugin is not being initialized?
The app is working fine, and when I use the component, it does generate the div with the
ps
class, but that's it. Nops__rail-x
div or anything like that, so it seems like the perfect-scrollbar plugin is not being initialized?No errors in the console.
Any idea what could be wrong? Thanks.