Files
xSynergy-manage/README.md
2026-04-08 11:26:40 +08:00

50 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# tabula-rase-project
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Customize configuration
See [Vite Configuration Reference](https://vite.dev/config/).
## Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Compile and Minify for Production
```sh
npm run build
```
## 注意事项
1.在本地启动项目时要修改签名的host,在utils/tools.js
```
// 获取host从baseURL或当前域名 本地启动要求host为xsynergy.gxtech.ltd
// let host = 'xsynergy.gxtech.ltd';
let host = '';
if (config.baseURL) {
try {
const urlObj = new URL(config.baseURL);
host = urlObj.host;
} catch (e) {
host = window.location.host;
}
} else {
host = window.location.host;
}
```