Thank you) Svelte kit uses file names as route paths, therefore all the routes need to be in the src/routes folder. E.g. if you would like to render a page /blog/some-nice-title you would create a /src/routes/blog/some-nice-title.svelte. Same goes for the .ts ( or js) files with method handlers exported.
And the lib folder is conveniently aliased to avoid imports from ../../../../../src/lib/file.ts, so that you could simply import $lib/file.ts
Thank you) Svelte kit uses file names as route paths, therefore all the routes need to be in the
src/routesfolder. E.g. if you would like to render a page/blog/some-nice-titleyou would create a/src/routes/blog/some-nice-title.svelte. Same goes for the.ts( or js) files with method handlers exported.And the lib folder is conveniently aliased to avoid imports from
../../../../../src/lib/file.ts, so that you could simply import$lib/file.tsHope that helps:-)
Cool, very neat 🔥