nuxt-modules / nuxt-modules/ionic
fix: Empty `route.params` object on navigation
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 457
- Forks
- 53
- Avg merge
- 7h 32m
- Merged PRs (30d)
- 21
Description
🐛 The bug
When navigating to a new page, the route.params object from useRoute is empty.
🛠️ To reproduce
https://stackblitz.com/edit/github-hz29vt?file=pages/tabs/tab1.vue
🌈 Expected behaviour
It should be an object with the current route parameters, query, etc.
ℹ️ Additional context
- It works properly on
0.6.1. - After navigating, reloading the page makes the
route.paramsobject show the correct content.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the StackBlitz reproduction, especially pages/tabs/tab1.vue, and compare navigation behavior with the working 0.6.1 version. Verify that useRoute exposes the current route parameters and query immediately after navigation, without requiring a page reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100