修改启动端口

This commit is contained in:
huangge1199 2024-08-27 08:51:26 +08:00
parent 12f355e432
commit ec5ce4374b
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
<script setup>
import variables from '@/assets/styles/variables.module.scss'
import originElementPlus from 'element-plus/theme-chalk/index.css'
import originElementPlus from 'element-plus/theme-chalk/index.css?inline'
import axios from 'axios'
import { ElLoading, ElMessage } from 'element-plus'
import { useDynamicTitle } from '@/utils/dynamicTitle'

View File

@ -14,7 +14,7 @@ export default defineConfig(({ mode, command }) => {
base: VITE_APP_ENV === 'production' ? '/' : '/',
// vite 相关配置
server: {
port: 80,
port: 8000,
host: true,
open: true,
proxy: {