You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/docs/04.api/05.vue.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The APIs listed are available in the Options API. They are kept for Nuxt2 to mig
12
12
### `getRouteBaseName()`{lang="ts"}
13
13
14
14
-**Arguments**:
15
-
- route (type: `Route`{lang="ts-type"}, default: current route)
15
+
- route (type: `string | Route`{lang="ts-type"}, default: current route)
16
16
-**Returns**: `string`{lang="ts-type"}
17
17
18
18
Returns base name of the passed route (uses the current route by default). The base name of a route is its name without a locale suffix or other metadata added by `@nuxtjs/i18n`.
0 commit comments