roxiness/routify-starter

If global.css is @imported by App.svelte, it doesn't need to be in /static

Closed this issue · 1 comments

tv42 commented

Getting it both @imported and thus bundled, and also served as a static file, is pointless and confusing.

<style global>
@import "../static/global.css";
</style>

https://github.com/roxiness/routify-starter/blob/master/static/global.css

Could just git mv static/global.css src and @import ./global.css.

Good point. I've contemplating a new folder structure, especially for Roxi, but I'm still uncertain.

How would you feel about

src/
  pages/
  assets/