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

1.0 KiB
Raw Blame History

tabula-rase-project

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

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;
        }