Skip to content

Commit e7bb4ea

Browse files
authored
chore: small updates to the welcome page (#647)
- Replaced Cypress Component Testing with Vitest - Added reference to Playwright - Removed Vue.js News link as it's been inactive for more than 3 years - Updated Vue.js Social Media accounts - Added a link to open README.md in the editor - Fixed an ambiguity caused by Oxford comma
1 parent 3d89338 commit e7bb4ea

File tree

4 files changed

+64
-48
lines changed

4 files changed

+64
-48
lines changed

Diff for: template/code/default/src/components/TheWelcome.vue

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import ToolingIcon from './icons/IconTooling.vue'
55
import EcosystemIcon from './icons/IconEcosystem.vue'
66
import CommunityIcon from './icons/IconCommunity.vue'
77
import SupportIcon from './icons/IconSupport.vue'
8+
9+
const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
810
</script>
911

1012
<template>
@@ -32,15 +34,17 @@ import SupportIcon from './icons/IconSupport.vue'
3234
+
3335
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
3436
you need to test your components and web pages, check out
35-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
37+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vite</a>
3638
and
37-
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
38-
>Cypress Component Testing</a
39-
>.
39+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
40+
/
41+
<a href="https://playwright.dev/" target="_blank" rel="noopener">Playwright</a>.
4042

4143
<br />
4244

43-
More instructions are available in <code>README.md</code>.
45+
More instructions are available in
46+
<a href="javascript:void(0)" @click="openReadmeInEditor"><code>README.md</code></a
47+
>.
4448
</WelcomeItem>
4549

4650
<WelcomeItem>
@@ -66,15 +70,15 @@ import SupportIcon from './icons/IconSupport.vue'
6670
<template #heading>Community</template>
6771

6872
Got stuck? Ask your question on
69-
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
70-
Discord server, or
73+
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>
74+
(our official Discord server), or
7175
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
7276
>StackOverflow</a
73-
>. You should also subscribe to
74-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
75-
and follow the official
76-
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
77-
twitter account for latest news in the Vue world.
77+
>. You should also follow the official
78+
<a href="https://bsky.app/profile/vuejs.org" target="_blank" rel="noopener">@vuejs.org</a>
79+
Bluesky account or the
80+
<a href="https://x.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
81+
X account for latest news in the Vue world.
7882
</WelcomeItem>
7983

8084
<WelcomeItem>

Diff for: template/code/router/src/components/TheWelcome.vue

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import ToolingIcon from './icons/IconTooling.vue'
55
import EcosystemIcon from './icons/IconEcosystem.vue'
66
import CommunityIcon from './icons/IconCommunity.vue'
77
import SupportIcon from './icons/IconSupport.vue'
8+
9+
const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
810
</script>
911

1012
<template>
@@ -32,15 +34,17 @@ import SupportIcon from './icons/IconSupport.vue'
3234
+
3335
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
3436
you need to test your components and web pages, check out
35-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
37+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vite</a>
3638
and
37-
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
38-
>Cypress Component Testing</a
39-
>.
39+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
40+
/
41+
<a href="https://playwright.dev/" target="_blank" rel="noopener">Playwright</a>.
4042

4143
<br />
4244

43-
More instructions are available in <code>README.md</code>.
45+
More instructions are available in
46+
<a href="javascript:void(0)" @click="openReadmeInEditor"><code>README.md</code></a
47+
>.
4448
</WelcomeItem>
4549

4650
<WelcomeItem>
@@ -66,15 +70,15 @@ import SupportIcon from './icons/IconSupport.vue'
6670
<template #heading>Community</template>
6771

6872
Got stuck? Ask your question on
69-
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
70-
Discord server, or
73+
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>
74+
(our official Discord server), or
7175
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
7276
>StackOverflow</a
73-
>. You should also subscribe to
74-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
75-
and follow the official
76-
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
77-
twitter account for latest news in the Vue world.
77+
>. You should also follow the official
78+
<a href="https://bsky.app/profile/vuejs.org" target="_blank" rel="noopener">@vuejs.org</a>
79+
Bluesky account or the
80+
<a href="https://x.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
81+
X account for latest news in the Vue world.
7882
</WelcomeItem>
7983

8084
<WelcomeItem>

Diff for: template/code/typescript-default/src/components/TheWelcome.vue

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import ToolingIcon from './icons/IconTooling.vue'
55
import EcosystemIcon from './icons/IconEcosystem.vue'
66
import CommunityIcon from './icons/IconCommunity.vue'
77
import SupportIcon from './icons/IconSupport.vue'
8+
9+
const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
810
</script>
911

1012
<template>
@@ -32,15 +34,17 @@ import SupportIcon from './icons/IconSupport.vue'
3234
+
3335
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
3436
you need to test your components and web pages, check out
35-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
37+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vite</a>
3638
and
37-
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
38-
>Cypress Component Testing</a
39-
>.
39+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
40+
/
41+
<a href="https://playwright.dev/" target="_blank" rel="noopener">Playwright</a>.
4042

4143
<br />
4244

43-
More instructions are available in <code>README.md</code>.
45+
More instructions are available in
46+
<a href="javascript:void(0)" @click="openReadmeInEditor"><code>README.md</code></a
47+
>.
4448
</WelcomeItem>
4549

4650
<WelcomeItem>
@@ -66,15 +70,15 @@ import SupportIcon from './icons/IconSupport.vue'
6670
<template #heading>Community</template>
6771

6872
Got stuck? Ask your question on
69-
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
70-
Discord server, or
73+
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>
74+
(our official Discord server), or
7175
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
7276
>StackOverflow</a
73-
>. You should also subscribe to
74-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
75-
and follow the official
76-
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
77-
twitter account for latest news in the Vue world.
77+
>. You should also follow the official
78+
<a href="https://bsky.app/profile/vuejs.org" target="_blank" rel="noopener">@vuejs.org</a>
79+
Bluesky account or the
80+
<a href="https://x.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
81+
X account for latest news in the Vue world.
7882
</WelcomeItem>
7983

8084
<WelcomeItem>

Diff for: template/code/typescript-router/src/components/TheWelcome.vue

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import ToolingIcon from './icons/IconTooling.vue'
55
import EcosystemIcon from './icons/IconEcosystem.vue'
66
import CommunityIcon from './icons/IconCommunity.vue'
77
import SupportIcon from './icons/IconSupport.vue'
8+
9+
const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
810
</script>
911

1012
<template>
@@ -32,15 +34,17 @@ import SupportIcon from './icons/IconSupport.vue'
3234
+
3335
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
3436
you need to test your components and web pages, check out
35-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
37+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vite</a>
3638
and
37-
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
38-
>Cypress Component Testing</a
39-
>.
39+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
40+
/
41+
<a href="https://playwright.dev/" target="_blank" rel="noopener">Playwright</a>.
4042

4143
<br />
4244

43-
More instructions are available in <code>README.md</code>.
45+
More instructions are available in
46+
<a href="javascript:void(0)" @click="openReadmeInEditor"><code>README.md</code></a
47+
>.
4448
</WelcomeItem>
4549

4650
<WelcomeItem>
@@ -66,15 +70,15 @@ import SupportIcon from './icons/IconSupport.vue'
6670
<template #heading>Community</template>
6771

6872
Got stuck? Ask your question on
69-
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
70-
Discord server, or
73+
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>
74+
(our official Discord server), or
7175
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
7276
>StackOverflow</a
73-
>. You should also subscribe to
74-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
75-
and follow the official
76-
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
77-
twitter account for latest news in the Vue world.
77+
>. You should also follow the official
78+
<a href="https://bsky.app/profile/vuejs.org" target="_blank" rel="noopener">@vuejs.org</a>
79+
Bluesky account or the
80+
<a href="https://x.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
81+
X account for latest news in the Vue world.
7882
</WelcomeItem>
7983

8084
<WelcomeItem>

0 commit comments

Comments
 (0)