Missing package installation (vue-router)
See original GitHub issueI’m following this reference to install APM Vue Package.
When I just run npm install --save @elastic/apm-rum-vue
, I can see below WARN message.
npm WARN @elastic/apm-rum-vue@0.2.0 requires a peer of vue-router@^3.0.0 but none is installed. You must install peer dependencies yourself.
And it seems the source code in the same reference is using vue-router
. Should I run npm install --save vue-router@^3.0.0
before installing apm-rum-vue
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
i cant install vue-router by npm - Stack Overflow
Solution. A quick fix is to install vue-router@3 : npm install -S vue-router@3.
Read more >How to use vue-router? - CodinGame
In main.js file first, we need to import a vue-router module from a node_modules folder because we have installed all of our dependencies...
Read more >vue-router - npm
TypeScript icon, indicating that this package has built-in type declarations ... and because we want feedback on bugs and missing features, ...
Read more >Vue i18n: Building a multi-language app with locale switcher
For this tutorial we will be using Vue I18n, a great package from the core ... Installing Vue Router; Managing Views; Adding Routes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
router
option in the VuePlugin is optional and only needed if you are instrumenting single page applications.Though the
warning
message seems to be a unreleated and we would need to removevue-router
from peer dependencies. Thanks for reporting @insukchoSorry for late response @vigneshshanmugam
Sounds great to me. Let’s do it!