uniapp-router-next
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -214,4 +214,2 @@ import type { App } from 'vue'; | ||
declare type PageHook = (args: Array<any>, next: (args: Array<any>) => void, router: Router) => void; | ||
export declare function parseQuery(search: string): LocationQuery; | ||
@@ -224,18 +222,6 @@ | ||
*/ | ||
export declare type PlatformType = 'h5' | 'mp-weixin' | 'mp-alipay' | 'app-plus' | 'mp-baidu' | 'mp-qq' | 'mp-toutiao' | 'mp-lark' | 'mp-kuaishou' | 'mp-jd'; | ||
export declare type PlatformType = 'h5' | 'mp-weixin' | 'mp-alipay' | 'app' | 'mp-baidu' | 'mp-qq' | 'mp-toutiao' | 'mp-lark' | 'mp-kuaishou' | 'mp-jd'; | ||
export declare const PLUS_RE: RegExp; | ||
declare interface ProxyHooksConfig { | ||
onLaunch?: PageHook; | ||
onShow?: PageHook; | ||
onHide?: PageHook; | ||
onError?: PageHook; | ||
onInit?: PageHook; | ||
onLoad?: PageHook; | ||
onReady?: PageHook; | ||
onUnload?: PageHook; | ||
onResize?: PageHook; | ||
} | ||
export declare function resolveRelativePath(to: string, from: string): string; | ||
@@ -349,3 +335,2 @@ | ||
routeMatcher: RouteMatcher; | ||
readonly proxyHooksConfig?: ProxyHooksConfig; | ||
resolve(rawLocation: RouteLocationRaw, navType?: NavigationType): RouteLocation | undefined; | ||
@@ -352,0 +337,0 @@ navigateTo(to: RouteLocationRaw): Promise<NavigationReturn>; |
{ | ||
"name": "uniapp-router-next", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "exports": { |
# uniapp-router-next | ||
> 一个类似于vue-router的路由器,用于uniapp,目前支持h5和微信小程序,只适用与vue3 | ||
> 一个类似于vue-router的路由器,用于uniapp(vue3),支持h5和微信小程序和app,其他小程序请自测 | ||
@@ -129,3 +129,3 @@ ## 安装 | ||
#### App.vue 模板替换 | ||
#### App.vue 模板替换(nvue不支持) | ||
@@ -132,0 +132,0 @@ - 开启该功能 (unplugin-uni-router需更新到1.2.0版本以上) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
141641
3809