Files
shiran f2b4beed0a feat(config): 更新环境配置和Nginx设置以支持动态端口配置
- 修改 .env.example 文件中的客户端API基础路径配置
- 将Dockerfile中的nginx.conf复制到模板目录以支持环境变量
- 在nginx配置中使用环境变量替换硬编码端口
- 为API文档路径(/docs、/redoc、/openapi.json)添加代理配置
- 移除硬编码的服务器地址,改用相对路径配置
- 更新docker-compose.yml以传递内部端口环境变量
- 简化nginx反向代理配置,移除冗余的服务器块配置
2026-05-09 18:08:16 +08:00
..
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00
2026-05-09 16:40:29 +08:00

element-plus-vite-starter

A starter kit for Element Plus with Vite

This is an example of on-demand element-plus with unplugin-vue-components.

If you want to import all, it may be so simple that no examples are needed. Just follow quickstart | Docs and import them.

If you just want an on-demand import example manually, you can check unplugin-element-plus/examples/vite.

If you want to a nuxt starter, see element-plus-nuxt-starter.

Project setup

pnpm install

# npm install
# yarn install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Usage

git clone https://github.com/element-plus/element-plus-vite-starter
cd element-plus-vite-starter
npm i
npm run dev

Custom theme

See src/styles/element/index.scss.