Replies: 3 comments 2 replies
-
When putting the component like the web:
Strangely, when a component written in the interface repo also appears in the web repo, the web repo can render the component written in the interface normally, even if the component in the web repo is not called, and it cannot be rendered when the component is deleted in the web repo |
Beta Was this translation helpful? Give feedback.
-
2023-12-08.13-09-08.mp4Components in an interface repo only affect content, and the same component in a web or desktop repo can only affect style |
Beta Was this translation helpful? Give feedback.
-
hey the issue seems to be that there's no CSS at all, right ?
if none of this solves the issue, can you make a minimal reproduction on github ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
project sturcture
apps/
├─ web/
├─ desktop/src/
packages/
├─ ui/
├─ interface/
├─ styled-system/
├─ ...
I want to do most of the code in the interface so that I can easily use a single set of code to render both the web and the deskop, but the problem is that the components written in the interface don't render properly in the web and desktop, and when I move the same components to the web or deskop, they work again.
code in web:
code in interface:
And the result is

Beta Was this translation helpful? Give feedback.
All reactions