Refactor project to use Vite: Remove Vue CLI configuration files and update package.json to integrate Vite for development and build processes. Adjust HTML structure for improved asset loading and streamline dependencies in package-lock.json.

This commit is contained in:
Torsten Schulz (local)
2026-04-08 09:03:33 +02:00
parent 99ec18c8f7
commit 597c8ceffe
56 changed files with 2282 additions and 13363 deletions

View File

@@ -0,0 +1,2 @@
import{b as e,s as t,t as n,u as r}from"./_plugin-vue_export-helper-C3WbSyGy.js";import{i}from"./vuex.esm-bundler-6KYrHs9b.js";var a={name:`ImageContent`,data(){return{defaultImage:`/images/homepage1.png`,currentImage:`/images/homepage1.png`}},computed:{...i([`menuData`])},watch:{$route:{immediate:!0,handler(){this.updateImage()}}},methods:{updateImage(){let e=this.$route.path,t=this.menuData,n=this.findMenuItemByPath(t,e);n&&n.image?this.currentImage=`/images/${n.image}`:this.currentImage=this.defaultImage},findMenuItemByPath(e,t){for(let n of e){if(n.link===t)return n;if(n.submenu){let e=this.findMenuItemByPath(n.submenu,t);if(e)return e}}return null}}},o={class:`side-image`},s=[`src`];function c(n,i,a,c,l,u){return e(),r(`div`,o,[t(`img`,{src:l.currentImage,alt:``},null,8,s)])}var l=n(a,[[`render`,c],[`__scopeId`,`data-v-08127df6`]]);export{l as default};
//# sourceMappingURL=ImageContent-CvUcQfvK.js.map