-
Notifications
You must be signed in to change notification settings - Fork 262
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
styled-jsx, TypeScript and external css files #381
Comments
Nope, there is an open issue about typescript. You may want to ask there. |
I'm interested in this also as I've not been able to get this working. Inline styles as follows now work fine:
Note that it's important to use I've tried to externalise the CSS as follows:
Using it in my component as follows:
However this gives the following error:
|
Here's a basic test case. I took the official TypeScript example and externalised the CSS. vercel/next.js@canary...djskinner:ts-external-css This gives the same error as above. |
closing this since it Relates to #90 |
Hi, do you have any working example of next/styled-jsx /TypeScript with external CSS files?
Thanks, Paul
The text was updated successfully, but these errors were encountered: