Repository: jhipster/jhipster-lite
Pull request #12274 (2025-04-07 19:13:47)

Vue: update doc


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/i18n/domain/VueI18nModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/vue/i18n/domain/VueI18nModuleFactory.java
index e9708cafd..669bcb3d2 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/i18n/domain/VueI18nModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/i18n/domain/VueI18nModuleFactory.java
@@ -62,7 +62,7 @@ public class VueI18nModuleFactory {
         .and()
       .optionalReplacements()
         .in(path(INDEX + "/home/infrastructure/primary/HomepageVue.vue"))
-          .add(lineAfterRegex("Vue 3 \\+ TypeScript \\+ Vite"), properties.indentation().times(2) + "<h2>{{ $t('home.translationEnabled') }}</h2>")
+          .add(lineAfterRegex("Vue \\+ TypeScript \\+ Vite"), properties.indentation().times(2) + "<h2>{{ $t('home.translationEnabled') }}</h2>")
           .and()
         .and()
       .build();
diff --git a/src/main/resources/generator/client/vue/webapp/app/home/infrastructure/primary/HomepageVue.vue.mustache b/src/main/resources/generator/client/vue/webapp/app/home/infrastructure/primary/HomepageVue.vue.mustache
index 26eef431e..72fc3afba 100644
--- a/src/main/resources/generator/client/vue/webapp/app/home/infrastructure/primary/HomepageVue.vue.mustache
+++ b/src/main/resources/generator/client/vue/webapp/app/home/infrastructure/primary/HomepageVue.vue.mustache
@@ -9,7 +9,7 @@
       alt="JHipster logo"
       src="../../../../content/images/JHipster-Lite-neon-green.png"
     />
-    <h1>{{ appName }}: Vue 3 + TypeScript + Vite</h1>
+    <h1>{{ appName }}: Vue + TypeScript + Vite</h1>
 
     <p>
       <a
@@ -19,10 +19,10 @@
       > Vite Documentation </a>
       |
       <a
-        href="https://v3.vuejs.org/"
+        href="https://vuejs.org/"
         target="_blank"
         rel="noopener"
-      >Vue 3 Documentation</a>
+      >Vue Documentation</a>
     </p>
 
     <p>


Test patch:
diff --git a/src/main/resources/generator/client/vue/webapp/app/test/webapp/unit/router/infrastructure/primary/HomeRouter.spec.ts.mustache b/src/main/resources/generator/client/vue/webapp/app/test/webapp/unit/router/infrastructure/primary/HomeRouter.spec.ts.mustache
index ade96027a..6590824e7 100644
--- a/src/main/resources/generator/client/vue/webapp/app/test/webapp/unit/router/infrastructure/primary/HomeRouter.spec.ts.mustache
+++ b/src/main/resources/generator/client/vue/webapp/app/test/webapp/unit/router/infrastructure/primary/HomeRouter.spec.ts.mustache
@@ -29,7 +29,7 @@ describe('Router', () => {
 
       const wrapper = wrap();
 
-      expect(wrapper.html()).toContain('Vue 3 + TypeScript + Vite');
+      expect(wrapper.html()).toContain('Vue + TypeScript + Vite');
     });
   });
 });
diff --git a/src/test/resources/projects/vue/HomepageVue.vue.template b/src/test/resources/projects/vue/HomepageVue.vue.template
index 26eef431e..72fc3afba 100644
--- a/src/test/resources/projects/vue/HomepageVue.vue.template
+++ b/src/test/resources/projects/vue/HomepageVue.vue.template
@@ -9,7 +9,7 @@
       alt="JHipster logo"
       src="../../../../content/images/JHipster-Lite-neon-green.png"
     />
-    <h1>{{ appName }}: Vue 3 + TypeScript + Vite</h1>
+    <h1>{{ appName }}: Vue + TypeScript + Vite</h1>
 
     <p>
       <a
@@ -19,10 +19,10 @@
       > Vite Documentation </a>
       |
       <a
-        href="https://v3.vuejs.org/"
+        href="https://vuejs.org/"
         target="_blank"
         rel="noopener"
-      >Vue 3 Documentation</a>
+      >Vue Documentation</a>
     </p>
 
     <p>