mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Add PWA setup with vite-plugin-pwa, assets generator, and templates Include CLI flag and interactive prompt option for PWA installation
13 lines
222 B
TypeScript
13 lines
222 B
TypeScript
import {
|
|
defineConfig,
|
|
minimal2023Preset as preset,
|
|
} from "@vite-pwa/assets-generator/config";
|
|
|
|
export default defineConfig({
|
|
headLinkOptions: {
|
|
preset: "2023",
|
|
},
|
|
preset,
|
|
images: ["public/logo.png"],
|
|
});
|