accepts children
import Redirect from '@fuzdev/fuz_ui/Redirect.svelte'; host?
The target host to redirect to. Defaults to '' (relative URL).
type
stringoptional default
''path?
The target path to redirect to. Defaults to the current location.pathname.
type
stringoptional default
page.url.pathnameauto?
Should the redirect happen automatically without user input? Defaults to true.
type
booleanoptional default
truechildren?
type
Snippet<[url: string]>optional
snippet parameters
url string