refactor: migrate project to Vue 3 with TypeScript and Vite

- Updated index.html to use Vite and Vue 3.
- Changed package.json to reflect new dependencies and build scripts.
- Removed old favicon.svg and added new vite.svg.
- Deleted unused PWA assets configuration.
- Created new App.vue component and HelloWorld.vue component.
- Added Vue logo and Vite logo to App.vue.
- Removed old JavaScript files and replaced with TypeScript files.
- Updated styles in style.css for better layout.
- Added TypeScript configuration files for better type checking.
- Migrated Vite configuration from JavaScript to TypeScript.
This commit is contained in:
2025-05-23 17:36:26 +02:00
parent 0394a7aceb
commit 97908db3e0
32 changed files with 630 additions and 841 deletions
+12 -10
View File
@@ -1,21 +1,23 @@
{
"name": "budget-manager",
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
},
"devDependencies": {
"@vite-pwa/assets-generator": "^0.2.6",
"vite": "^6.0.11",
"vite-plugin-pwa": "^0.21.1",
"workbox-window": "^7.3.0"
"dependencies": {
"vue": "^3.5.13"
},
"resolutions": {
"sharp": "0.32.6",
"sharp-ico": "0.1.5"
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.3",
"@vue/tsconfig": "^0.7.0",
"prettier": "^3.5.3",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vite-plugin-pwa": "^1.0.0",
"vue-tsc": "^2.2.8"
}
}