{"id":26993368,"url":"https://github.com/alphayu/adnc-vue-elementplus","last_synced_at":"2026-03-08T06:32:39.163Z","repository":{"id":284124776,"uuid":"941767598","full_name":"AlphaYu/adnc-vue-elementplus","owner":"AlphaYu","description":"基于Vue3、Vite、TypeScript 和 Element-Plus 搭建的极简开箱即用企业级后台管理前端模板","archived":false,"fork":false,"pushed_at":"2025-03-31T11:39:11.000Z","size":355,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-31T12:27:12.162Z","etag":null,"topics":["element-plus","typescript","vite","vue3"],"latest_commit_sha":null,"homepage":"http://62.234.187.128/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlphaYu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-03T02:34:44.000Z","updated_at":"2025-03-31T11:21:20.000Z","dependencies_parsed_at":"2025-03-24T10:32:34.612Z","dependency_job_id":null,"html_url":"https://github.com/AlphaYu/adnc-vue-elementplus","commit_stats":null,"previous_names":["alphayu/adnc-vue-elementplus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlphaYu/adnc-vue-elementplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaYu%2Fadnc-vue-elementplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaYu%2Fadnc-vue-elementplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaYu%2Fadnc-vue-elementplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaYu%2Fadnc-vue-elementplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlphaYu","download_url":"https://codeload.github.com/AlphaYu/adnc-vue-elementplus/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaYu%2Fadnc-vue-elementplus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30247362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["element-plus","typescript","vite","vue3"],"created_at":"2025-04-03T23:18:54.496Z","updated_at":"2026-03-08T06:32:39.146Z","avatar_url":"https://github.com/AlphaYu.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cdiv align=\"center\"\u003e\u003cimg src=\"https://aspdotnetcore.net/wp-content/uploads/2023/04/adnc-github.png\" alt=\"ADNC-基于.NET平台的微服务开源框架\" style=\"zoom:50%;\" /\u003e\u003c/div\u003e\n\u003cdiv align='center'\u003e\n\u003ca href=\"https://github.com/AlphaYu/Adnc/blob/master/LICENSE\"\u003e\n\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/AlphaYu/Adnc\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/AlphaYu/Adnc/stargazers\"\u003e\n\u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/AlphaYu/Adnc\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/AlphaYu/Adnc/network\"\u003e\n\u003cimg alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/AlphaYu/Adnc\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"\"\u003e\n\u003cimg alt=\"Visitors\" src=\"https://komarev.com/ghpvc/?username=alphayu\u0026color=red\u0026label=Visitors\"/\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n###### \u003cdiv align=\"center\"\u003e代码改变世界，开源推动社区\u003c/div\u003e\n\n## 概述\n\n[adnc-vue-elementplus](https://github.com/AlphaYu/adnc-vue-elementplus) 基于 Vue3、Vite、TypeScript 、 Element-Plus和 [vue3-element-admin](https://github.com/youlaitech/vue3-element-admin) 搭建的极简开箱即用企业级后台管理前端模板并配套 .NET8 后端 [adnc](http://github.com/alphayu/adnc)。\n\n- [在线预览](http://62.234.187.128/)\n\n\n## 项目特色\n\n- **简洁易用**：基于Vue3 版本，无过渡封装 ，易上手。\n- **系统功能：** 提供用户管理、角色管理、菜单管理、部门管理、字典管理等功能模块。\n- **权限管理：** 支持动态路由、按钮权限、角色权限和数据权限等多种权限管理方式。\n- **基础设施：** 提供国际化、多布局、暗黑模式、全屏、水印、接口文档和代码生成器等功能。\n\n## 环境准备\n\n| 环境                 | 名称版本                                                     | 下载地址                                                     |\n| -------------------- | :----------------------------------------------------------- | ------------------------------------------------------------ |\n| **开发工具**         | VSCode    | [下载](https://code.visualstudio.com/Download)           |\n| **运行环境**         | Node ≥18 \u0026\u0026 Node\u003c= v20.18.3    | [下载](http://nodejs.cn/download)                        |\n\n\n## 项目启动\n\n```bash\n# 克隆代码\ngit clone https://github.com/alphayu/adnc-vue-elementplus.git\n# 切换目录\ncd adnc-vue-elementplus\n# 安装 pnpm\nnpm install pnpm -g\n# 设置镜像源(可忽略)\npnpm config set registry https://registry.npmmirror.com\n# 安装依赖\npnpm install\n# 启动运行\npnpm run dev\n```\n\n\n\n## 项目部署\n\n执行 `pnpm run build` 命令后，项目将被打包并生成 `dist` 目录。接下来，将 `dist` 目录下的文件上传到服务器 `/usr/share/nginx/html` 目录下，并配置 Nginx 进行反向代理。\n\n```bash\npnpm run build\n```\n\n以下是 Nginx 的配置示例：\n```nginx\nworker_processes 1;\n\nevents {\n    worker_connections 1024;\n}\n\nhttp {\n    include mime.types;\n    default_type application/octet-stream;\n    sendfile on;\n    keepalive_timeout 65;\n    gzip on;\n    gzip_http_version 1.1;\n    gzip_disable \"MSIE [1-6]\\.\";\n    gzip_min_length 1k;\n    gzip_buffers 16 64k;\n    gzip_comp_level 5;\n    gzip_vary on;\n    gzip_types text/plain application/javascript text/css;\n\n    server {\n        listen 80;\n        server_name localhost;\n        location / {\n            root /usr/share/nginx/html;\n            index index.html index.htm;\n        }\n\n        location /api/ {\n            proxy_set_header X-Real-IP $remote_addr;\n            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n            proxy_pass http://10.2.8.5:5000/api/;\n        }\n    }\n}\n\n```\n更多详细信息，请参考这篇文章：[Nginx 安装和配置](https://aspdotnetcore.net/docs/deploy-docker/)。\n\n## 本地Mock\n\n项目同时支持在线和本地 Mock 接口，默认使用线上接口，如需替换为 Mock 接口，修改文件 `.env.development` 的 `VITE_MOCK_DEV_SERVER` 为  `true` **即可**。\n\n## 后端接口\n\n\u003e 如果您具备.NET开发基础，按照以下步骤将在线接口转为本地后端接口，创建企业级前后端分离开发环境，助您走向全栈之路。\n\n1. 获取基于 `.NET` 开发的后端 [adnc](https://github.com/alphayu/adnc) 源码。\n\n## 注意事项\n\n- **自动导入插件自动生成默认关闭**\n\n  模板项目的组件类型声明已自动生成。如果添加和使用新的组件，请按照图示方法开启自动生成。在自动生成完成后，记得将其设置为 `false`，避免重复执行引发冲突。\n\n- **项目启动浏览器访问空白**\n\n  请升级浏览器尝试，低版本浏览器内核可能不支持某些新的 JavaScript 语法，比如可选链操作符 `?.`。\n\n- **项目同步仓库更新升级**\n\n  项目同步仓库更新升级之后，建议 `pnpm install` 安装更新依赖之后启动 。\n\n- **项目组件、函数和引用爆红**\n\n\t重启 VSCode 尝试\n\n## 问题交流\n- QQ群号：780634162\n- 都看到这里了，那就点个`star`吧！\n\n## License\n\n**MIT**   \n**Free Software, Hell Yeah!**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphayu%2Fadnc-vue-elementplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphayu%2Fadnc-vue-elementplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphayu%2Fadnc-vue-elementplus/lists"}