Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.5.14] Weird/broken interaction between v-btn, vue-router and npm run dev #19549

Closed
nagaflokhu opened this issue Apr 5, 2024 · 1 comment · Fixed by #19614
Closed
Assignees
Labels
E: router T: bug Functionality that does not work as intended/expected T: regression Something that used to work but we broke

Comments

@nagaflokhu
Copy link

Environment

Vuetify Version: 3.5.14
Vue Version: 3.4.21
Browsers: Firefox 124.0
OS: Linux x86_64

Steps to reproduce

  • npm create vuetify
  • npm i vue-router
  • Create and router in main.js using app.use(createRouter(...))
  • Add v-btn in App.vue
  • Run project using npm run dev

Expected Behavior

Rendered button

Actual Behavior

No button, stack trace in console

Reproduction Link

https://github.com/nagaflokhu/v-btn-bug

Other comments

Not sure if this is a Vuetify issue, a vue-router issue, neither, both. Please let me know if I should open an issue with vue-router instead.

@BatmanTheBlind
Copy link

BatmanTheBlind commented Apr 11, 2024

I run into a similar issue with v-list-item
Vuetify Version: 3.5.15
Vue Version: 3.3.13
Browsers: Chrome 123.0.6312.107
OS: Win 11

Downgrading to Vuetify 3.5.11 fix the issue. Seems to be introduced in 3.5.12. Still present in 3.6.0-alpha.1.

The error in the console give the following message

Uncaught Error: No match for
 {"params":{}}
while being at
{"path":"/","params":{},"query":{},"hash":"","fullPath":"/","matched":[],"meta":{}}

But printing list routes with router.getRoutes() (trough composition API) display routes correctly.
Probaly an issue in the way vuetify components access vue-router ? This changes seems to be a good candidate for investigation : 7cca1b5

@yuwu9145 yuwu9145 self-assigned this Apr 15, 2024
@yuwu9145 yuwu9145 added C: VBtn VBtn E: router T: bug Functionality that does not work as intended/expected and removed S: triage labels Apr 15, 2024
@yuwu9145 yuwu9145 added T: regression Something that used to work but we broke and removed C: VBtn VBtn labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: router T: bug Functionality that does not work as intended/expected T: regression Something that used to work but we broke
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants