From c0754737a887c962edcad2799ce62d5ba6cc45ef Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 23 Dec 2024 16:54:12 +0800 Subject: [PATCH] chore: small updates to the welcome page - Replace Cypress Component Testing with Vitest - Added reference to Playwright - Removed Vue.js News link as it's be 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 --- .../default/src/components/TheWelcome.vue | 28 +++++++++++-------- .../code/router/src/components/TheWelcome.vue | 28 +++++++++++-------- .../src/components/TheWelcome.vue | 28 +++++++++++-------- .../src/components/TheWelcome.vue | 28 +++++++++++-------- 4 files changed, 64 insertions(+), 48 deletions(-) diff --git a/template/code/default/src/components/TheWelcome.vue b/template/code/default/src/components/TheWelcome.vue index acb6a2da1..e02c38f90 100644 --- a/template/code/default/src/components/TheWelcome.vue +++ b/template/code/default/src/components/TheWelcome.vue @@ -5,6 +5,8 @@ import ToolingIcon from './icons/IconTooling.vue' import EcosystemIcon from './icons/IconEcosystem.vue' import CommunityIcon from './icons/IconCommunity.vue' import SupportIcon from './icons/IconSupport.vue' + +const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')