Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use css-modules and import styles at the same time? #8650

Closed
MyPacker opened this issue Sep 6, 2019 · 3 comments
Closed

How to use css-modules and import styles at the same time? #8650

MyPacker opened this issue Sep 6, 2019 · 3 comments

Comments

@MyPacker
Copy link

MyPacker commented Sep 6, 2019

I started css-modules in the next.js project, but it caused the style of the third-party components I introduced in the jsx via import to fail. Since these styles are also compiled because css-modules is turned on, how do I use css-modules and import styles at the same time? Or how do I configure css-modules to ignore compiled import styles?
I look forward to and thank you for your reply!

@CN-Yi
Copy link

CN-Yi commented Sep 6, 2019

I don't konw

@timneutkens
Copy link
Member

timneutkens commented Sep 6, 2019

Please follow the issue template in the future.

https://github.com/zeit/next.js/issues/new/choose

https://github.com/zeit/next.js/issues/new?template=8.Question_about_next.md

# Question about Next.js

GitHub Issues are reserved for Bug reports and Feature requests. The best place to get your question answered is to post it on https://spectrum.chat/next-js.

There's an open RFC to allow this: #8626

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants