cd apps
npm create vite@latest
@repo/ui
as a dependency"@repo/ui": "*",
cd ..
npm install
npm run dev
Try importing something from the ui
package and rendering it
Add a turbo.json
to the react folder to override the outputs
object of this module.
Ref https://turbo.build/repo/docs/core-concepts/monorepos/configuring-workspaces
{
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["dist/**"]
}
}
}