Skip to content

sea-grass/elderjs-css-layout-repro

Repository files navigation

elderjs-css-layout-repro

This repo demonstrates an issue where a route will receive imported CSS from other layouts.

  1. Create two routes simple and other and configure them to use layouts Layout.svelte and Other.svelte, respectively.
  2. Create two CSS files, simple.css and other.css. Inside the script tag of each layout, import their respective CSS file.
  3. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published