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

can not use in latest nextjs (13.4.19) #407

Open
zerosoul opened this issue Sep 10, 2023 · 3 comments
Open

can not use in latest nextjs (13.4.19) #407

zerosoul opened this issue Sep 10, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@zerosoul
Copy link

I have done based on the intro: https://github.com/React95/React95/tree/master/packages/core#nextjs

and add some code for styled-components based on this: https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components

at last error this:
image

styled-component version problem? nextjs support v6, but react95 v5 ?

@zerosoul
Copy link
Author

oh I don't use the next-transpile-modules because nextjs natively support it with transpilePackages: ["@react95/core", "@react95/icons"] setting

@ggdaltoso ggdaltoso added the help wanted Extra attention is needed label Oct 3, 2023
@ggdaltoso
Copy link
Member

Sorry for the delay in the reply here, @zerosoul

I also have no clue but I'll try to figure it out and update the template we have. Thanks for letting me know about this issue

@AlfieDarko
Copy link

also facing this issue, was trying to figure out if something with the transpile settings could be changed but no luck

ggdaltoso added a commit that referenced this issue Mar 7, 2024
changing from `styled-components` to `vanilla-extract`

BREAKING CHANGE: React95 now changes its styling core, from `styled-components`/`xstyled` to
`vanilla-extract`. This will change how the lib is installed and how to use the components

re #423, re #407
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants