|
@@ -32,9 +32,14 @@ export default defineConfig({
|
|
|
// css预处理器
|
|
|
preprocessorOptions: {
|
|
|
less: {
|
|
|
- charset: false,
|
|
|
+ charset: false, // 解决中文乱码
|
|
|
+ modifyVars: {
|
|
|
+ 'arcoblue-6': '#d1402f',
|
|
|
+ },
|
|
|
+ javascriptEnabled: true,
|
|
|
additionalData:
|
|
|
'@import "@/assets/css/theme.less";@import "@/assets/css/global.less";',
|
|
|
+
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -61,8 +66,8 @@ export default defineConfig({
|
|
|
hmr: true,
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
- // target: "http://sim.nanodreamtech.com",
|
|
|
- target: "http://192.168.0.59:3001",
|
|
|
+ target: "http://sim.nanodreamtech.com",
|
|
|
+ // target: "http://127.0.0.1:3001",
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
secure: true,
|