How to use vue-router's $route and $router properties with vue-class-component?

前端 未结 0 731
感情败类
感情败类 2021-02-04 01:45

I\'m migrating my Vue 2 project from JS to TS with class-based components. In my code, I used vue-router by accessing this.$route and this.$route

相关标签:
回答
  • 消灭零回复
提交回复
热议问题