Commit Graph

2 Commits

Author SHA1 Message Date
TenviLi
968d0033c2 chore(deps): upgrade Vite 7 to 8 and related toolchain
Dependency bumps:
- vite: 7.3.1 -> 8.2.2 (Rolldown + Oxc replace esbuild + Rollup)
- vitest: 4.0.18 -> 4.1.11
- @vitejs/plugin-vue: 6.0.4 -> 6.0.8
- @tailwindcss/vite & tailwindcss: 4.1.18 -> 4.3.3
- @intlify/unplugin-vue-i18n: 11.0.3 -> 11.2.5 (moved to devDependencies)
- vue: 3.5.28 -> 3.5.42
- vue-i18n: 11.2.8 -> 11.4.10

Config migration for Vite 8:
- Move the multi-page entry points to the top-level `input` option,
  replacing the deprecated `build.rollupOptions.input`
- Replace `__dirname` with `import.meta.dirname` for compatibility with
  Vite's upcoming native config loader
2026-08-31 02:35:13 +08:00
Matt Isenhower
29482689f4 Migrate Tailwind CSS from v3 to v4
- Replace JS config (tailwind.config.js) with CSS @theme block in base.css
- Switch from PostCSS to @tailwindcss/vite plugin
- Convert all bg-opacity-*/border-opacity-* to slash syntax (e.g. bg-zinc-900/70)
- Add @custom-variant for mobile and ss variants
- Add @reference to Vue scoped styles using @apply
- Rename v3 utilities: rounded→rounded-sm, backdrop-blur-sm→backdrop-blur-xs,
  drop-shadow→drop-shadow-sm, rotate-[25deg]→rotate-25
- Delete obsolete tailwind.config.js and postcss.config.js
- Rename vite.config.js to .mjs for ESM compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 13:52:27 -08:00