- 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.
12 lines
286 B
TypeScript
12 lines
286 B
TypeScript
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 } }),
|
|
],
|
|
});
|