@intlify/vue-router-composable
Advanced tools
Comparing version 0.0.0-4d9b3bb to 0.0.0-8229ee2
@@ -1,3 +0,6 @@ | ||
import { useRouter, useRoute } from 'vue-router' | ||
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router' | ||
declare function useRouter<T = Router>(): T | ||
declare function useRoute<T = RouteLocationNormalizedLoaded>(): T | ||
declare const isVueRouter3: boolean | ||
@@ -4,0 +7,0 @@ declare const isVueRouter4: boolean |
@@ -6,4 +6,4 @@ import VueRouter from 'vue-router' | ||
declare const useRouter: () => VueRouter | ||
declare const useRoute: () => ComputedRef<Route> | ||
declare function useRouter<T = VueRouter>(): T | ||
declare function useRoute<T = ComputedRef<Route>>(): T | ||
@@ -10,0 +10,0 @@ declare const isVueRouter3: boolean |
@@ -1,3 +0,6 @@ | ||
import { useRouter, useRoute } from 'vue-router' | ||
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router' | ||
declare function useRouter<T = Router>(): T | ||
declare function useRoute<T = RouteLocationNormalizedLoaded>(): T | ||
declare const isVueRouter3: boolean | ||
@@ -4,0 +7,0 @@ declare const isVueRouter4: boolean |
{ | ||
"name": "@intlify/vue-router-composable", | ||
"version": "0.0.0-4d9b3bb", | ||
"version": "0.0.0-8229ee2", | ||
"description": "The universal composable for Vue Router", | ||
@@ -65,3 +65,4 @@ "peerDependencies": { | ||
"postinstall": "node ./scripts/postinstall.js" | ||
} | ||
}, | ||
"readme": "# @intlify/vue-router-composable\n\nThe universal composable for Vue Router\n\nWIP: 👷\n\n## 🌟 Features\n- Vue Router composable APIs available on Vue 2 & Vue 3\n- Auto detect Vue Router version on bundling\n- Manual switch versions\n\n## ©️ License\n\n[MIT](http://opensource.org/licenses/MIT)" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8859
156