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
Create two CSS files, simple.css and other.css. Inside the script tag of each layout, import their respective CSS file.
Bug: Start the dev server and navigate to one of your routes. You'll see that on both routes, both simple.css and other.css are loaded.
- Expected behaviour: On the simple route, only simple.css is loaded. On the other route, only other.css is loaded.
The text was updated successfully, but these errors were encountered:
Elderjs bundles all styles from all components into a single file. Therefore it is better to use the component style in case you want to avoid the conflict.
I'm seeing an issue where CSS is incorrectly loaded from other layouts.
I reproduced the issue in a repo.
Reproduction steps:
- Expected behaviour: On the simple route, only simple.css is loaded. On the other route, only other.css is loaded.
The text was updated successfully, but these errors were encountered: