| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-25 10:56:27 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-10-28 11:51:46 |
| | | * @LastEditTime: 2024-10-29 21:44:48 |
| | | * @FilePath: \bigScreen\vite.config.js |
| | | * @Description: |
| | | * |
| | |
| | | import DC from "@dvgis/vite-plugin-dc" |
| | | |
| | | import AutoImport from 'unplugin-auto-import/vite' |
| | | import basicSsl from '@vitejs/plugin-basic-ssl' |
| | | |
| | | export default ({ mode, command }) => { |
| | | const env = loadEnv(mode, process.cwd()) |
| | |
| | | plugins: [ |
| | | vue(), |
| | | DC(), |
| | | basicSsl(), |
| | | AutoImport({ |
| | | imports: ["vue", "vue-router"], // 自动导入vue和vue-router相关函数 |
| | | }) |
| | |
| | | |
| | | server: { |
| | | port: 668, |
| | | https: true, |
| | | host: '0.0.0.0', |
| | | proxy: { |
| | | '/api': { |
| | | // target: 'http://localhost', |