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:
@@ -0,0 +1,11 @@
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import { defineConfig } from "vite";
|
||||
import { VitePWA } from "vite-plugin-pwa";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
VitePWA({ registerType: "autoUpdate", devOptions: { enabled: true } }),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user