Skip to content

Commit 2cb6909

Browse files
committed
chore: add legacy firefox url to the migration guide
1 parent 770216c commit 2cb6909

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

packages/chrome-extension/popups/vue2-migration-guide.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ <h2>Migration Tips</h2>
77
Vue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.
88
</p>
99
<p style="text-indent: 8px">
10-
The legacy version that supports both Vue 2 and Vue 3 has been moved to
10+
The legacy version of chrome extension that supports both Vue 2 and Vue 3 has been moved to
1111
<a target="_blank" href="https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp"
1212
>here</a
13-
>, please install and enable only the legacy version for your Vue2 app. If you're still using v5 version, you can
14-
install it
13+
>
14+
and the legacy version of firefox extension has been moved to
15+
<a target="_blank" href="https://addons.mozilla.org/firefox/addon/vue-js-devtools-v6-legacy">here</a>, please
16+
install and enable only the legacy version for your Vue2 app. If you're still using v5 version, you can install it
1517
<a
1618
target="_blank"
1719
href="https://chromewebstore.google.com/detail/vuejs-devtools-v5/hkddcnbhifppgmfgflgaelippbigjpjo"

packages/devtools-kit/src/core/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ export function initDevTools() {
5454

5555
console.log('%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.', 'font-bold: 500; font-size: 14px;')
5656

57-
const url = 'https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp'
58-
console.log(`%cThe legacy version that supports both Vue 2 and Vue 3 has been moved to %c ${url}`, 'font-size: 14px;', 'text-decoration: underline; cursor: pointer;font-size: 14px;')
57+
const legacyChromeUrl = 'https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp'
58+
const legacyFirefoxUrl = 'https://addons.mozilla.org/firefox/addon/vue-js-devtools-v6-legacy'
59+
console.log(`%cThe legacy version of chrome extension that supports both Vue 2 and Vue 3 has been moved to %c ${legacyChromeUrl}`, 'font-size: 14px;', 'text-decoration: underline; cursor: pointer;font-size: 14px;')
60+
console.log(`%cThe legacy version of firefox extension that supports both Vue 2 and Vue 3 has been moved to %c ${legacyFirefoxUrl}`, 'font-size: 14px;', 'text-decoration: underline; cursor: pointer;font-size: 14px;')
5961

6062
console.log('%cPlease install and enable only the legacy version for your Vue2 app.', 'font-bold: 500; font-size: 14px;')
6163

0 commit comments

Comments
 (0)