Skip to content

Router #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dummdidumm opened this issue Oct 22, 2020 · 1 comment
Closed

Router #51

dummdidumm opened this issue Oct 22, 2020 · 1 comment

Comments

@dummdidumm
Copy link
Member

How does Kit relate to a router? How closely are they connected? Is it possible to extract the logic into an official Svelte router? Is it possible to plugin your own router?

@benmccann
Copy link
Member

Kit contains Sapper's code and router. We did some router cleanup in Sapper that really separated the code from the rest of the code. The code in this repo was copied from Sapper before that happened, so a good first step would be to sync up the code from Sapper again. See #6 (you'll actually notice that Sapper has a router directory that's missing in kit)

My other thoughts on this question are in the rfc: sveltejs/rfcs#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants