sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
6.99k stars 432 forks source link

src/routes/_layout/index.svelte support #708

Open btakita opened 5 years ago

btakita commented 5 years ago

Having a src/routes/_layout directory would allow layout components to be grouped with src/routes/_layout/index.svelte.

btakita commented 5 years ago

Currently, one can have a src/routes/_layout/ directory, but needs to use src/routes/_layout.svelte. Having src/routes/_layout/index.svelte would be consistent with idiomatic practices.