We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cfc9bc8 + d78e72d commit 4e6067eCopy full SHA for 4e6067e
1 file changed
src/components/NcButton/NcButton.vue
@@ -434,7 +434,7 @@ td.row-size {
434
435
<script setup lang="ts">
436
import type { Slot } from 'vue'
437
-import type { RouteLocation } from 'vue-router'
+import type { RouteLocationRaw } from 'vue-router'
438
439
import { computed, inject, toRef } from 'vue'
440
import { routerKey, useLink } from 'vue-router'
@@ -535,7 +535,7 @@ interface NcButtonProps {
535
*
536
* Note: This takes precedence over the href attribute.
537
*/
538
- to?: string|RouteLocation
+ to?: RouteLocationRaw
539
540
/**
541
* Specifies the button native type
0 commit comments