From cd201774f52d0cb73c51b98c48c00af6cd8a3f6e Mon Sep 17 00:00:00 2001
From: btea <2356281422@qq.com>
Date: Fri, 4 Oct 2024 16:50:17 +0800
Subject: [PATCH] chore: replace vite website link
---
README.md | 4 ++--
template/base/vite.config.js.ejs | 2 +-
template/code/default/src/components/HelloWorld.vue | 2 +-
template/code/default/src/components/TheWelcome.vue | 2 +-
template/code/router/src/components/HelloWorld.vue | 2 +-
template/code/router/src/components/TheWelcome.vue | 2 +-
.../code/typescript-default/src/components/HelloWorld.vue | 2 +-
.../code/typescript-default/src/components/TheWelcome.vue | 2 +-
template/code/typescript-router/src/components/HelloWorld.vue | 2 +-
template/code/typescript-router/src/components/TheWelcome.vue | 2 +-
utils/generateReadme.ts | 2 +-
11 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 0d3e7762..0dcb2bac 100644
--- a/README.md
+++ b/README.md
@@ -28,9 +28,9 @@ npm create vue@legacy
## Difference from Vue CLI
-- Vite-Powered: Vue CLI is based on webpack, while `create-vue` is based on [Vite](https://vitejs.dev/). Vite supports most of the configured conventions found in Vue CLI projects out of the box, and provides a significantly better development experience due to its extremely fast startup and hot-module replacement speed. Learn more about why we recommend Vite over webpack [here](https://vitejs.dev/guide/why.html).
+- Vite-Powered: Vue CLI is based on webpack, while `create-vue` is based on [Vite](https://vite.dev/). Vite supports most of the configured conventions found in Vue CLI projects out of the box, and provides a significantly better development experience due to its extremely fast startup and hot-module replacement speed. Learn more about why we recommend Vite over webpack [here](https://vite.dev/guide/why.html).
-- Scaffolding Tool: Unlike Vue CLI, `create-vue` itself is just a scaffolding tool. It creates a pre-configured project based on the features you choose, and delegates the rest to Vite. Projects scaffolded this way can directly leverage the [Vite plugin ecosystem](https://vitejs.dev/plugins/) which is Rollup-compatible.
+- Scaffolding Tool: Unlike Vue CLI, `create-vue` itself is just a scaffolding tool. It creates a pre-configured project based on the features you choose, and delegates the rest to Vite. Projects scaffolded this way can directly leverage the [Vite plugin ecosystem](https://vite.dev/plugins/) which is Rollup-compatible.
## Migrating from Vue CLI
diff --git a/template/base/vite.config.js.ejs b/template/base/vite.config.js.ejs
index c3e65d21..a8f64a52 100644
--- a/template/base/vite.config.js.ejs
+++ b/template/base/vite.config.js.ejs
@@ -5,7 +5,7 @@ import { defineConfig } from 'vite'
<%- importer %>
<%_ } _%>
-// https://vitejs.dev/config/
+// https://vite.dev/config/
export default defineConfig({
plugins: [
<%_ for (const { initializer } of plugins) { _%>
diff --git a/template/code/default/src/components/HelloWorld.vue b/template/code/default/src/components/HelloWorld.vue
index 5fb372c9..f5f98332 100644
--- a/template/code/default/src/components/HelloWorld.vue
+++ b/template/code/default/src/components/HelloWorld.vue
@@ -12,7 +12,7 @@ defineProps({
{{ msg }}
Youâve successfully created a project with
- Vite +
+ Vite +
Vue 3.
diff --git a/template/code/default/src/components/TheWelcome.vue b/template/code/default/src/components/TheWelcome.vue
index dab95367..e4d125fc 100644
--- a/template/code/default/src/components/TheWelcome.vue
+++ b/template/code/default/src/components/TheWelcome.vue
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
Tooling
This project is served and bundled with
- Vite. The
+ Vite. The
recommended IDE setup is
VSCode +
Volar. If
diff --git a/template/code/router/src/components/HelloWorld.vue b/template/code/router/src/components/HelloWorld.vue
index 5fb372c9..f5f98332 100644
--- a/template/code/router/src/components/HelloWorld.vue
+++ b/template/code/router/src/components/HelloWorld.vue
@@ -12,7 +12,7 @@ defineProps({
{{ msg }}
Youâve successfully created a project with
- Vite +
+ Vite +
Vue 3.
diff --git a/template/code/router/src/components/TheWelcome.vue b/template/code/router/src/components/TheWelcome.vue
index dab95367..e4d125fc 100644
--- a/template/code/router/src/components/TheWelcome.vue
+++ b/template/code/router/src/components/TheWelcome.vue
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
Tooling
This project is served and bundled with
- Vite. The
+ Vite. The
recommended IDE setup is
VSCode +
Volar. If
diff --git a/template/code/typescript-default/src/components/HelloWorld.vue b/template/code/typescript-default/src/components/HelloWorld.vue
index e1a721cc..a2eabd15 100644
--- a/template/code/typescript-default/src/components/HelloWorld.vue
+++ b/template/code/typescript-default/src/components/HelloWorld.vue
@@ -9,7 +9,7 @@ defineProps<{
{{ msg }}
Youâve successfully created a project with
- Vite +
+ Vite +
Vue 3.
diff --git a/template/code/typescript-default/src/components/TheWelcome.vue b/template/code/typescript-default/src/components/TheWelcome.vue
index 49d8f735..e65a66b4 100644
--- a/template/code/typescript-default/src/components/TheWelcome.vue
+++ b/template/code/typescript-default/src/components/TheWelcome.vue
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
Tooling
This project is served and bundled with
- Vite. The
+ Vite. The
recommended IDE setup is
VSCode +
Volar. If
diff --git a/template/code/typescript-router/src/components/HelloWorld.vue b/template/code/typescript-router/src/components/HelloWorld.vue
index 38d821ef..d174cf8e 100644
--- a/template/code/typescript-router/src/components/HelloWorld.vue
+++ b/template/code/typescript-router/src/components/HelloWorld.vue
@@ -9,7 +9,7 @@ defineProps<{
{{ msg }}
Youâve successfully created a project with
- Vite +
+ Vite +
Vue 3. What's next?
diff --git a/template/code/typescript-router/src/components/TheWelcome.vue b/template/code/typescript-router/src/components/TheWelcome.vue
index 49d8f735..e65a66b4 100644
--- a/template/code/typescript-router/src/components/TheWelcome.vue
+++ b/template/code/typescript-router/src/components/TheWelcome.vue
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
Tooling
This project is served and bundled with
- Vite. The
+ Vite. The
recommended IDE setup is
VSCode +
Volar. If
diff --git a/utils/generateReadme.ts b/utils/generateReadme.ts
index 832396d9..be6e68b3 100644
--- a/utils/generateReadme.ts
+++ b/utils/generateReadme.ts
@@ -33,7 +33,7 @@ This template should help get you started developing with Vue 3 in Vite.
${needsTypeScript ? sfcTypeSupportDoc : ''}
## Customize configuration
-See [Vite Configuration Reference](https://vitejs.dev/config/).
+See [Vite Configuration Reference](https://vite.dev/config/).
## Project Setup
--
2.39.5