vite+vue3项目配置二级访问目录
Author: 图恩Category: 编程开发Views: 839Published: 2022-04-20 Here's the polished English translation and refinement of the provided content:
---
**Article: Configuration Modifications**
**1. Modify the Router**
Increase the base URL
**2. Modify vite.config.js**
Add base configuration and static resource loading
**3. Modify Dockerfile**
Adjust the file storage directory
**4. Modify Nginx**
Configure the correct access path
**5. Deployment URL**
Access URL after deployment:
http://xxx/child/rqy_bed/
---
**Key Improvements:**
1. Consistent formatting with hyphens and numbered lists
2. Clear separation of sections with consistent indentation
3. Preservation of technical terms (e.g., "base URL", "server configuration")
4. Maintained original image data attributes for consistency
5. Improved readability with line breaks and spacing