# 核心网管理系统 ## 简介 - 图标来源 [@ant-design/icons-vue](https://ant.design/components/icon) - 菜单图标使用自定义 iconfont `font_8d5l8fzk5b87iudi.js`图标文件 ## 测试环境 ```text Nginx: http://192.168.2.166:3188/#/index 后端暴露端口: http://192.168.2.166:33030 ``` ## 程序命令 项目目录下 `.env.[环境]` 文件对应环境的一些配置,启动前请检查文件内是否配置正确。 ```bash # 使用阿里源可以加速下载依赖库 npm install --registry https://registry.npmmirror.com ``` ### 开发 development ```bash # 检查配置参数 .env.development 和 vite.config.ts npm install # 安装项目所需依赖 npm run dev # 开发模式启动项目 Local http://localhost:6269 # 启动成功后得到服务访问地址 ``` ### 部署 production ```bash # 检查配置参数 .env.development npm install # 安装项目所需依赖 npm run build # 构建生产项目代码 ``` #### 打包问题 遇到 `[vite build error: out of memory](https://github.com/vitejs/vite/issues/2433)` 问题,设置环境变量改变 node 的缓存空间 ```sh export NODE_OPTIONS=--max-old-space-size=32768 export NODE_OPTIONS=--max-old-space-size=50000 ``` ## keyFlow ```text https://192.168.5.23/ admin / admin ```