react-glidejs icon indicating copy to clipboard operation
react-glidejs copied to clipboard

Usage with Next.js

Open matheus-rosin opened this issue 4 years ago • 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

matheus-rosin avatar Feb 05 '21 16:02 matheus-rosin

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

slogive avatar Feb 16 '21 23:02 slogive

Hi guys,

Would it be possible to do what is necessary?

brandonsueur avatar Apr 05 '21 22:04 brandonsueur

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

matheus-rosin avatar Apr 06 '21 02:04 matheus-rosin

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

luismramirezr avatar May 07 '21 01:05 luismramirezr