- Notifications
You must be signed in to change notification settings - Fork14
🚦Provide autocompletion and typecheck to Nuxt router
License
NotificationsYou must be signed in to change notification settings
victorgarciaesgi/nuxt-typed-router
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Supports all programmatic navigation utils (
NuxtLink
,useRouter
,navigateTo
,useRoute
,useLocalePath
, etc...) - Supports optional params and catchAll routes
- Autocompletes routes paths, names and params
- Throw error if route path is invalid
- Out of the box
i18n
support - Supports routes extended by config and modules
Demo repo 🧪 :nuxt-typed-router-demo
- Nuxt 3
npx nuxi@latest module add typed-router
Register the module in thenuxt.config.ts
, done!
exportdefaultdefineNuxtConfig({modules:['nuxt-typed-router'],});
- Clone this repository
- Install dependencies using
pnpm
- Build project for local tests
pnpm run test
- Start dev playground
pnpm run prepack && pnpm run dev
- Build project for deploy
pnpm prepack
About
🚦Provide autocompletion and typecheck to Nuxt router
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors14
Uh oh!
There was an error while loading.Please reload this page.