同步代码到仓库

This commit is contained in:
GaoHao
2024-10-12 18:22:56 +08:00
commit 5586573ff1
37 changed files with 5248 additions and 0 deletions

19
vite.config.js Normal file
View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [
uni()
],
server: {
host: "0.0.0.0",
port:80
proxy: {
'/api': {
target: "https://cashier-client.sxczgkj.cn/cashier-client",
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
}
}
}
})