后台登录已经成功

This commit is contained in:
2025-08-31 21:06:52 +08:00
parent 5b12c6c163
commit c658033023
10 changed files with 1098 additions and 518 deletions

View File

@@ -1,10 +1,23 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
import { createHtmlPlugin } from 'vite-plugin-html'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
createHtmlPlugin({
minify: true,
inject: {
data: {
VITE_APP_NAME: process.env.VITE_APP_NAME || '结伴客后台管理系统',
VITE_APP_VERSION: process.env.VITE_APP_VERSION || '1.0.0',
VITE_API_BASE_URL: process.env.VITE_API_BASE_URL || '/api'
}
}
})
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),