chore: 全量提交(推广页、宣传册、社交资源、视频与后台同步)

Made-with: Cursor
This commit is contained in:
whm
2026-03-20 16:31:12 +08:00
parent 0360ee5261
commit 5067fb6f76
341 changed files with 5283 additions and 108 deletions

View File

@@ -1,9 +1,19 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
export default defineConfig({
plugins: [vue()],
base: '/admin/',
resolve: {
alias: {
// 与前台共用积木渲染,避免重复维护
'@yh-web': path.resolve(__dirname, '../web/src')
}
},
server: {
port: 3000,
host: true,