jkhaui/react-glidejs

Usage with Next.js

matheus-rosin opened this issue · 4 comments

Hi!

Next.js does not allow importing global CSS files in any files other than _app.js. You should consider making import of CSS file per se, for cases such as this.

Thanks

Same problem here, can't import by this problem.

Hi guys,

Would it be possible to do what is necessary?

I didn't tried it yet, but one thing that should work (as a temp fix) is to import the component at _app.js, then export it as a named export, and import it again from _app.js wherever it should be used

I didn't tried it yet, but one thing that should work (as a temp fix) is to import the component at _app.js, then export it as a named export, and import it again from _app.js wherever it should be used

This didn't work for me