@bjornlu/svelte-router
Advanced tools
Changelog
0.3.2 - 2020-10-11
navigate
and createLink
reference when initializing routerChangelog
0.3.0 - 2020-09-04
component
typingroute
only update if url changeinitRouter
with initHashRouter
and initPathRouter
to improve tree-shakingRedirectOption
type exportChangelog
0.2.1 - 2020-09-01
<Link />
will work properly with special key clicks, e.g. ctrl-clickChangelog
0.2.0 - 2020-08-30
createLink
function to enable custom link creationhistory
mode to path
route
, will now throw error if called before initRouter
initRouter
will throw error if called more than onceLocationInput
's path
, search
and hash
will treat empty string as undefinedlink
action, use createLink
insteadChangelog
0.1.2 - 2020-08-26
initRouter
navigate
will not throw error if called before initRouter