# vue3-demo-docker **Repository Path**: devbigapp/vue3-demo-docker ## Basic Information - **Project Name**: vue3-demo-docker - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-07 - **Last Updated**: 2025-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue3-demo 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 ``` ## 一键部署到本地Docker Nginx 1. 确保本地Nginx容器已运行,挂载目录为 /Users/mac/Soft/docker/nginx/html 2. 运行以下命令: ```bash chmod +x deploy.sh ./deploy.sh ``` 脚本会自动构建前端并将dist内容拷贝到Nginx挂载目录,然后重启Nginx容器。