Skip to content

Broken $route and $router definition when adding a second plugin #472

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

Closed
Shinigami92 opened this issue Sep 20, 2020 · 0 comments · Fixed by #473
Closed

Broken $route and $router definition when adding a second plugin #472

Shinigami92 opened this issue Sep 20, 2020 · 0 comments · Fixed by #473
Labels
typescript Problem related to TS typings

Comments

@Shinigami92
Copy link
Contributor

Shinigami92 commented Sep 20, 2020

Version

4.0.0-beta.11

Reproduction link

https://github.com/Shinigami92/vue-gtm-test-vue3

Steps to reproduce

  • Create project with "vue-router": "^4.0.0-0" and a plugin like "vue-gtm": "3.0.0-alpha.3"
  • Use this.$gtm, this.$route and this.$router

What is expected?

Code throws no compile / build errors

What is actually happening?

Code throws compile / build errors


More on Discord Vue Land in #typescript channel

@posva posva added the typescript Problem related to TS typings label Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Problem related to TS typings
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants