I can't load app.scss inside app.tsx and load globally on all pages
app.tsx has this:
import "./app.scss";
Which sets the background color of the page.
If I load the home page this style is loaded.
But If I navigate to profile
then navigate back to home page, styling is gone. as this app.scss has never been imported.
If I put this import like this on Home.tsx
like this, it loads on every case as expected.1 Reply
Is this a solid start app? There's been some css issues with solid start, though I'm not aware if it's already fixed. But providing a minimal reproduction would help a lot debugging the issue.