# qiankun-container **Repository Path**: luzhaoqi/qiankun-container ## Basic Information - **Project Name**: qiankun-container - **Description**: qiankun容器包 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-13 - **Last Updated**: 2025-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 子包axios的问题 好像走的还是main包的 子包路由守卫优化 开发时候字体文件缺失 nginx配置 ``` server { listen 7779; location ^~ /api/ { proxy_pass http://hqx.test.ixunhang.com/api/; proxy_read_timeout 600; proxy_connect_timeout 600; proxy_send_timeout 600; } location / { root html/html/main; # 主应用所在的目录 index index.html; try_files $uri $uri/ /index.html; expires -1; add_header Cache-Control no-cache; } location /modules { alias html/html/modules; try_files $uri $uri/ /index.html; } } ``` 子包的复制 1.修改 .env 文件中的 VUE_APP_MICRO_NAME 为子包的包名 2.修改.env.development 中的 VUE_APP_PORT 端口号 main包 1. src下的settings.js 配置好所有子包的包名和端口