Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Navigating through @solidjs/router doesn't load global app.css - SolidJS
S
SolidJS
โข
2y ago
โข
24 replies
zimo
Navigating through @solidjs/router doesn't load global app.css
When navigating from index to another route
, the app
.css doesn
't persist as a
<style
> tag
, despite being imported in the app
.tsx file
.
Demo project
:
https://github.com/zimonitrome/solid_error_demo.git
To reproduce
:
npm install
npm install
,
npm run dev
npm run dev
, click
"page 2
"
-
>
"home
"
-
>
"page 2
" from the navigation links
.
Side question
: Why are styles added twice
? See second image
. This seems like default Vinxi behavior
.
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
`@solidjs/router` doesn't navigate in production mode
S
SolidJS / support
3y ago
`@solidjs/router` doesn't seem to work with Capacitor
S
SolidJS / support
3y ago
SolidJS Router Missunderstanding
S
SolidJS / support
11mo ago
SolidJS Router problem
S
SolidJS / support
3y ago