]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: replace vite website link
authorbtea <2356281422@qq.com>
Fri, 4 Oct 2024 08:50:17 +0000 (16:50 +0800)
committerCédric Exbrayat <cexbrayat@users.noreply.github.com>
Fri, 4 Oct 2024 09:04:33 +0000 (11:04 +0200)
README.md
template/base/vite.config.js.ejs
template/code/default/src/components/HelloWorld.vue
template/code/default/src/components/TheWelcome.vue
template/code/router/src/components/HelloWorld.vue
template/code/router/src/components/TheWelcome.vue
template/code/typescript-default/src/components/HelloWorld.vue
template/code/typescript-default/src/components/TheWelcome.vue
template/code/typescript-router/src/components/HelloWorld.vue
template/code/typescript-router/src/components/TheWelcome.vue
utils/generateReadme.ts

index 0d3e7762171d55bee28c6d278f58c84c2e948606..0dcb2bac1b9d8a7920c2c4bb07eab289a9b953c4 100644 (file)
--- 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
 
index c3e65d219947edbd8388ec9fe25cea24f99c40fd..a8f64a52049bd45155f3b86d285c818a6b191efe 100644 (file)
@@ -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) { _%>
index 5fb372c9c9e8ad63c632a14fb0323627dbdf6bb1..f5f98332bec4d00986fb37d19c5bc68e8c2ff6f2 100644 (file)
@@ -12,7 +12,7 @@ defineProps({
     <h1 class="green">{{ msg }}</h1>
     <h3>
       You’ve successfully created a project with
-      <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
+      <a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
       <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
     </h3>
   </div>
index dab95367d4cb1dfe39b9c898fcd087ee3eda35b6..e4d125fc25ab1f5a9c7b5e893a95c216b6229145 100644 (file)
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
     <template #heading>Tooling</template>
 
     This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
+    <a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
     <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
index 5fb372c9c9e8ad63c632a14fb0323627dbdf6bb1..f5f98332bec4d00986fb37d19c5bc68e8c2ff6f2 100644 (file)
@@ -12,7 +12,7 @@ defineProps({
     <h1 class="green">{{ msg }}</h1>
     <h3>
       You’ve successfully created a project with
-      <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
+      <a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
       <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
     </h3>
   </div>
index dab95367d4cb1dfe39b9c898fcd087ee3eda35b6..e4d125fc25ab1f5a9c7b5e893a95c216b6229145 100644 (file)
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
     <template #heading>Tooling</template>
 
     This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
+    <a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
     <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
index e1a721cc197824cb478c9d803f3ca3eecbf43a5f..a2eabd15dc892a7867be2f1acef52823cc49c848 100644 (file)
@@ -9,7 +9,7 @@ defineProps<{
     <h1 class="green">{{ msg }}</h1>
     <h3>
       You’ve successfully created a project with
-      <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
+      <a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
       <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
     </h3>
   </div>
index 49d8f7354f7d0f22c6abf7d8be239f47ddc34c09..e65a66b4eb56b5954c8bfb7cf52588aec0c98e08 100644 (file)
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
     <template #heading>Tooling</template>
 
     This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
+    <a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
     <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
index 38d821ef87b646f47e10add2091589290b270f49..d174cf8e1c12827184281d516d457c6d914c4340 100644 (file)
@@ -9,7 +9,7 @@ defineProps<{
     <h1 class="green">{{ msg }}</h1>
     <h3>
       You’ve successfully created a project with
-      <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
+      <a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
       <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>. What's next?
     </h3>
   </div>
index 49d8f7354f7d0f22c6abf7d8be239f47ddc34c09..e65a66b4eb56b5954c8bfb7cf52588aec0c98e08 100644 (file)
@@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
     <template #heading>Tooling</template>
 
     This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
+    <a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
     <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
index 832396d9044e783a0dd48ec79dc5e0b8cc8828fc..be6e68b3b1192a43fb7ad337ab1aad7e1f67e084 100644 (file)
@@ -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