This issue has been resolved. See skeletonlabs/skeleton#420.
Reproduction repo for Skeleton with Yarn v3 workspaces (PNP disabled). See #420.
Created with yarn init -2
. See .yarnrc.yml
for configuration.
To reproduce the problem, run yarn install
and then yarn run dev
.
After creating and running the ui
workspace as described in the README, a functional demo page should be displayed.
It can be seen that the layout is not styled properly. Tailwind seems to be applied only partially.
No visible errors or warnings are shown with vite dev
, vite build
or in the browser console.
One interesting observation is that Vite creates a node_modules
folder at the workspace level (packages/ui/node_modules/.vite/deps
) instead of the repo/project level.
By setting nmHoistingLimits: workspaces
in .yarnrc.yml
, this problem can be fixed. Is there any package that's referencing a dependency that's not hoisted to the project level?