We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Buefy version: 0.1.2 (buefy-next) Vuejs version: 3.3.4 VueRouter version: 4.2.5 OS/Browser: macOS/Chrome
There is a typo in the new copyAppContext method
destContext.provdes = srcContext.provides
should be
destContext.provides = srcContext.provides
This results in several problems like accessing router.
<script> this.$buefy.modal.open({ width: screen.width, parent: this, component: ChildComponent, hasModalCard: true, scroll: 'clip', canCancel: ['escape', 'outside'], }); </script>
ChildComponent.vue
<template> <div> <RouterLink :to='link_from_router'>Click me</RouterLink> </div> </template> <script> import { RouterLink } from 'vue-router' export default { name: "ChildComponent", components: { RouterLink } } </script>
A new modal with a link inside should open
An error is thrown: Injection "Symbol(router)" not found.
Uncaught TypeError: Cannot read properties of undefined (reading 'resolve') at ReactiveEffect.eval [as fn] (vue-router.mjs:2164:1)
The text was updated successfully, but these errors were encountered:
@erasse Thank you for catching that! I will make sure to add this change to the MigrateToLerna branch
MigrateToLerna
Sorry, something went wrong.
copyAppMethod
@erasse Oops! Good catch!
@erasse This issue will be fixed in the next release once we finish migrating to Lerna.
lerna
vite
wesdevpro
Successfully merging a pull request may close this issue.
Overview of the problem
Buefy version: 0.1.2 (buefy-next)
Vuejs version: 3.3.4
VueRouter version: 4.2.5
OS/Browser: macOS/Chrome
Description
There is a typo in the new copyAppContext method
should be
This results in several problems like accessing router.
Steps to reproduce
ChildComponent.vue
Expected behavior
A new modal with a link inside should open
Actual behavior
An error is thrown:
Injection "Symbol(router)" not found.
Uncaught TypeError: Cannot read properties of undefined (reading 'resolve')
at ReactiveEffect.eval [as fn] (vue-router.mjs:2164:1)
The text was updated successfully, but these errors were encountered: