pigx前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.4 KiB

11 months ago
  1. # pig-ui
  2. ## 概述
  3. **pig-ui** 是一个为 PIGCLOUD 微服务开发平台开发的前端项目。它利用了现代 Web 技术,包括 Vue.js 3、Element Plus 和 Vite,提供了一个健壮且高效的开发环境。
  4. ## 功能特性
  5. - **Vue 3**: 利用最新版本的 Vue.js 实现现代化的响应式体验。
  6. - **Element Plus**: 集成了 Element Plus,提供丰富的 UI 组件。
  7. - **Vite**: 使用 Vite 进行快速构建和模块热替换。
  8. - **TypeScript**: 支持 TypeScript,提升代码质量和可维护性。
  9. - **Tailwind CSS**: 使用 Tailwind CSS 进行样式设计。
  10. ## 快速开始
  11. ### 先决条件
  12. - **Node.js**: 版本 18.0.0。
  13. - **npm**: 版本 8.0.0 或更高。
  14. ### 安装
  15. 1. 克隆仓库:
  16. ```bash
  17. git clone https://gitee.com/log4j/pig-ui.git
  18. cd pig-ui
  19. ```
  20. 2. 安装依赖:
  21. ```bash
  22. npm install --registry=https://registry.npmmirror.com
  23. ```
  24. ### 开发
  25. ```bash
  26. npm run dev
  27. ```
  28. ### 构建
  29. 为生产环境构建项目:
  30. ```bash
  31. npm run build
  32. ```
  33. 为 Docker 构建项目:
  34. ```bash
  35. npm run build:docker
  36. ```
  37. ## 浏览器支持
  38. - 现代浏览器的最后两个版本。
  39. - 不支持 IE 11 及更低版本。
  40. ## 贡献
  41. 欢迎贡献!在开始之前,请阅读[贡献指南](https://www.yuque.com/pig4cloud/pig/lceu0v)。
  42. ## 许可证
  43. 本项目采用 Apache-2.0 许可证。
  44. ## 问题和反馈
  45. 如果遇到任何问题,请在 [PIGCLOUD 问题追踪](https://gitee.com/log4j/pig/issues)上报告。