In https://github.com/PlasmoHQ/examples/tree/main/with-nextjs/src/pages/index.tsx, how do I import Global CSS?
Now I can import Global CSS in .../with-nextjs/src/popup/index.tsx
Is there any context that might help us understand?
`Global CSS cannot be imported from files other than your Custom . Due to the Global nature of stylesheets, and to avoid conflicts, Please move all first-party global CSS imports to pages/_app.js. Or convert the import to Component-Level CSS (CSS Modules).
Read more: https://nextjs.org/docs/messages/css-global
Location: src/pages/index.tsx
Import trace for requested module:
./src/style.css`
Code of Conduct
[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.
What is the example you wish to see?
In
https://github.com/PlasmoHQ/examples/tree/main/with-nextjs/src/pages/index.tsx
, how do I import Global CSS? Now I can import Global CSS in .../with-nextjs/src/popup/index.tsxIs there any context that might help us understand?
`Global CSS cannot be imported from files other than your Custom. Due to the Global nature of stylesheets, and to avoid conflicts, Please move all first-party global CSS imports to pages/_app.js. Or convert the import to Component-Level CSS (CSS Modules).
Read more: https://nextjs.org/docs/messages/css-global
Location: src/pages/index.tsx
Import trace for requested module: ./src/style.css`
Code of Conduct