svelte-routes
A simple router for svelte v3.
Install
npm i --save svelte-routes
Usage
In routes.js
:
;; const routes = to: '/' component: MyComponent to: '*' component: 404Page ; ;
In App.svelte
:
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct). By participating in this project you agree to abide by its terms.