You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a project based on UnoCSS and then introduced a reset provided by UnoCSS,
//it will set 'list-style:none'import"@unocss/reset/tailwind.css";
However, I found that this reset doesn’t work on the server side in the dev environment. Through debugging, I discovered that it seems to be caused by this piece of code:
The text was updated successfully, but these errors were encountered:
lilijh
changed the title
dev-server-manifest don't crawl the css from node_modles casuse something wrong
dev-server-manifest doesn't crawl the css from node_modles casuse something wrong
Oct 14, 2024
lilijh
changed the title
dev-server-manifest doesn't crawl the css from node_modles casuse something wrong
Dev Server Manifest Fails to Crawl CSS from Node Modules
Oct 14, 2024
lilijh
changed the title
Dev Server Manifest Fails to Crawl CSS from Node Modules
dev-server-manifest Fails to Crawl CSS from Node Modules
Oct 14, 2024
lilijh
changed the title
dev-server-manifest Fails to Crawl CSS from Node Modules
dev-server-manifest Fails to Crawl CSS from node_modules
Oct 14, 2024
Description
I created a project based on UnoCSS and then introduced a reset provided by UnoCSS,
However, I found that this reset doesn’t work on the server side in the dev environment. Through debugging, I discovered that it seems to be caused by this piece of code:
vinxi/packages/vinxi/lib/manifest/collect-styles.js
Lines 54 to 56 in 93d236a
Because the styles on the server side and the final styles on the client side are inconsistent, the page flashes.
14.10.2024_17.41.07_REC.mp4
Note: This problem doesn’t exist in the production environment.
Expected Behavior
The styles on the server side should be consistent with those on the client side.
Minimal Reproduce
https://stackblitz.com/edit/vitejs-vite-mmpg4r?file=app%2Fapp.tsx,app.config.ts
The text was updated successfully, but these errors were encountered: