Replies: 1 comment
-
You need to add your package path to your apps tsconfig for now, e.g:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When i try to add UI component in monorepo setup in a frontend app , conventionally it should get added in packages/ui/sr/components instead it is getting added in the same frontend app creating one more folder called @workspace/ui/components.
My project structure looks like this
apps
└── web # Your app goes here.
├── app
│ └── page.tsx
├── components
│ └── login-form.tsx
├── components.json
└── package.json
packages
└── ui # Your components and dependencies are installed here.
├── src
│ ├── components
│ │ └── button.tsx
│ ├── hooks
│ ├── lib
│ │ └── utils.ts
│ └── styles
│ └── globals.css
├── components.json
└── package.json
package.json
turbo.json
Beta Was this translation helpful? Give feedback.
All reactions