-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Usage in Frontity framework (NextJs like framework for a wordpress frontend) #1441
Comments
sorry to hear you're having trouble with SSR and our project. couple quick questions. |
Actually, everything is building OK, and I have no error message. So, I don't think it is the same issue as #1156. Also, the Frontity framework is not based on NextJs, so the integration might be different. I think the problem is mainly related to how to integrate external css files inside the project. It is described in this link, but I'm not sure how to apply it to React Spectrum. |
So, short of trying to write your own plugin to walk all of our packages and bring the CSS up as a Global, I'm not sure how much we can actually do. It seems like it might make more sense to open an issue on Frontity to allow importing CSS. |
I ended up with adding
|
🔦 Context
I'm trying to create a frontend for wordpress. The frontend is based on the framework Frontity, that provides an SSR rendering for React, coupled with some webpack/babel generation. I have integrated React Spectrum, and the result is that the CSS is not rendered. I'm trying to figure out what is missing. I saw that for NextJs, there is a special configuration. Any help would be appreciated.
💻 Code Sample
To reproduce what I'm seeing, you might run the following
The text was updated successfully, but these errors were encountered: