Type aliases
AppContext
AppProps
Type parameters
Functions
Container
-
Parameters
Returns any
createUrl
- createUrl(router: default): { asPath: string; back: () => void; pathname: string; push: (url: string, as?: string) => Promise<boolean>; pushTo: (href: string, as?: string) => Promise<boolean>; query: ParsedUrlQuery; replace: (url: string, as?: string) => Promise<boolean>; replaceTo: (href: string, as?: string) => Promise<boolean> }
-
Parameters
Returns { asPath: string; back: () => void; pathname: string; push: (url: string, as?: string) => Promise<boolean>; pushTo: (href: string, as?: string) => Promise<boolean>; query: ParsedUrlQuery; replace: (url: string, as?: string) => Promise<boolean>; replaceTo: (href: string, as?: string) => Promise<boolean> }
-
Readonly asPath: string
-
back: () => void
-
Readonly pathname: string
-
push: (url: string, as?: string) => Promise<boolean>
-
- (url: string, as?: string): Promise<boolean>
-
Parameters
-
url: string
-
Optional as: string
Returns Promise<boolean>
-
pushTo: (href: string, as?: string) => Promise<boolean>
-
- (href: string, as?: string): Promise<boolean>
-
Parameters
-
href: string
-
Optional as: string
Returns Promise<boolean>
-
Readonly query: ParsedUrlQuery
-
replace: (url: string, as?: string) => Promise<boolean>
-
- (url: string, as?: string): Promise<boolean>
-
Parameters
-
url: string
-
Optional as: string
Returns Promise<boolean>
-
replaceTo: (href: string, as?: string) => Promise<boolean>
-
- (href: string, as?: string): Promise<boolean>
-
Parameters
-
href: string
-
Optional as: string
Returns Promise<boolean>