| 1234567891011121314151617181920212223 |
- import { defineConfig } from 'vite'
- import vue from '@vitejs/plugin-vue'
- import path from 'path'
- // https://vite.dev/config/
- export default defineConfig({
- plugins: [vue()],
- resolve: {
- // 路径别名配置
- alias: {
- '@': path.resolve(__dirname, './src')
- }
- },
- base: './',
- // server: {
- // proxy: {
- // '/api': {
- // target: 'https://192.168.110.8:8080',
- // changeOrigin: true
- // }
- // }
- // }
- })
|