refactor: update package.json and improve ESLint configuration

- Removed outdated Vue CLI plugins and added new ESLint rules and plugins for better TypeScript support.
- Enhanced ESLint configuration with parser options and overrides for Vue files.

feat: refactor router configuration for improved readability

- Reformatted router configuration for better structure and clarity.
- Ensured consistent use of async component imports and updated route definitions.

chore: update TypeScript configuration for better compatibility

- Adjusted tsconfig.json to target ES2020 and include necessary libraries.
- Added a new tsconfig.node.json for Node.js specific configurations.

fix: update Vite configuration for proper asset handling

- Modified vite.config.js to specify input for Rollup, ensuring correct asset management.
This commit is contained in:
bighuixiang
2025-06-18 21:25:25 +08:00
parent 3a52cc1e53
commit 5f4e1176f0
10 changed files with 1135 additions and 8815 deletions

View File

@@ -97,6 +97,7 @@ export default defineConfig(({ mode }) => {
assetsDir: "assets",
// 分包策略
rollupOptions: {
input: path.resolve(__dirname, "public/index.html"),
output: {
manualChunks: {
vendor: ["vue", "vue-router", "vuex"],