🚦Provide autocompletion and typecheck to Nuxt router
MIT License
Bot releases are hidden (Show)
Published by victorgarciaesgi over 1 year ago
Published by victorgarciaesgi over 1 year ago
Can be disabled with the experimentalPathCheck
option.
NuxtLink
, useRouter
, navigateTo
and useLocalePath
This feature is still experimental and has to be well tested on more apps.
definePageMeta
supportGet autocompletion et type check for redirect
, validate
and key
@nuxtjs/i18n
@nuxtjs/i18n
from autocompleteprefix_and_default
strategylocalePath
will only validate and autocomplete default routesrouteNames
object params to better match pages
folder structurePublished by victorgarciaesgi over 1 year ago
Published by victorgarciaesgi over 1 year ago
Can be disabled with the experimentalPathCheck
option.
NuxtLink
, useRouter
, navigateTo
and useLocalePath
This feature is still experimental and has to be well tested on more apps.
definePageMeta
supportGet autocompletion et type check for redirect
, validate
and key
@nuxtjs/i18n
from autocompleterouteNames
object params to better match pages
folder structurePublished by victorgarciaesgi over 1 year ago
Published by victorgarciaesgi over 1 year ago
localePath
string navigation type bugPublished by victorgarciaesgi over 1 year ago
<NuxtLink/>
typed propsPublished by victorgarciaesgi over 1 year ago
Published by victorgarciaesgi over 1 year ago
useLocalePath
and useLocaleRoute
.strict
option to prevent passing string paths<NuxtLink/>
and router
Published by victorgarciaesgi over 1 year ago
useRoute(name)
where wrongPublished by victorgarciaesgi over 1 year ago
v2.2.0
update.
3.1.1
addPlugin
and no longer added in your plugins folderRenamed some exported types to match vue-router
ones
Published by victorgarciaesgi over 1 year ago
navigateTo
argsPublished by victorgarciaesgi over 1 year ago
navigateTo
nuxt.config.ts
Published by victorgarciaesgi over 1 year ago
Published by victorgarciaesgi over 1 year ago
prepare
scriptThanks @tobychidi !
Published by victorgarciaesgi over 1 year ago
Fast releases I know! But I managed to override useRouter
and useRoute
global typings.
useRoute
and useRouter
are now typed without importing anything<nuxt-link/>
types were not working if not importing from @typed-router
[...slug].vue
[[bar]].vue
Published by victorgarciaesgi almost 2 years ago
srcDir
with rootDir
to target the correct .nuxt
path #59Thanks @Pierre-M !
Published by victorgarciaesgi almost 2 years ago
Published by victorgarciaesgi almost 2 years ago