- Delete node_modules and target when archiving or deploying — they can always be regenerated.
- Run cargo clean and npm cache clean --force.
- Use release mode (cargo build --release) for final builds; release artifacts are smaller and faster.
- Consider using pnpm instead of npm — it deduplicates packages globally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { VitePWA } from 'vite-plugin-pwa' | |
| import { defineConfig } from 'vite' | |
| import vue from '@vitejs/plugin-vue' | |
| // https://vitejs.dev/config/ | |
| export default defineConfig({ | |
| plugins: [ | |
| vue(), | |
| VitePWA({ | |
| registerType: 'autoUpdate', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| plugins: { | |
| tailwindcss: {}, | |
| autoprefixer: {}, | |
| }, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { Config } from "tailwindcss" | |
| export default { | |
| content: ["./src/**/*.{html,js,cjs,ts,vue}"], | |
| theme: { | |
| extend: {}, | |
| }, | |
| plugins: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Donjon Philippines</title> | |
| <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | |
| <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | |
| <link rel="icon" type="image/png" sizes="64x64" href="/favicon-64x64.png"> | |
| <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> |