Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/Code-Create

This commit is contained in:
2026-05-14 15:13:08 +08:00
18 changed files with 1027 additions and 37 deletions

View File

@@ -3,6 +3,7 @@ import type { ViteSSGOptions } from 'vite-ssg'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import generateSitemap from 'vite-ssg-sitemap'
import { fileURLToPath, URL } from 'node:url'
// https://vite.dev/config/
const config = {
@@ -24,7 +25,13 @@ const config = {
outDir: 'dist'
})
}
}
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
_c: fileURLToPath(new URL('./src/components', import.meta.url))
}
},
} satisfies UserConfig & { ssgOptions: ViteSSGOptions }
export default defineConfig(config)