Front-End management UI of precaution

mickey135 2f64b75248 feat:配置本地环境 2 months ago
.vscode 09dda7b5e2 feat: poe page 2 months ago
public 8032e99a94 feat: constructure 3 months ago
src 7e680e6968 feat: hazard tracking page 2 months ago
.editorconfig 9a4f21aaa3 feat: initial 3 months ago
.gitignore 9a4f21aaa3 feat: initial 3 months ago
.node-version 9a4f21aaa3 feat: initial 3 months ago
.prettierrc.json 9a4f21aaa3 feat: initial 3 months ago
README.md 9a4f21aaa3 feat: initial 3 months ago
angular.json 9a4f21aaa3 feat: initial 3 months ago
gulpfile.mjs 94404b30f3 feat:测试服配置 3 months ago
package-lock.json 46a4c89d0f feat: risk-statistics.component 3 months ago
package.json 2f64b75248 feat:配置本地环境 2 months ago
proxy.dev.conf.json 2f64b75248 feat:配置本地环境 2 months ago
proxy.prod.conf.json 6ac9c9fcdc feat: fill crate form 2 months ago
proxy.stage.conf.json a68201d75c feat: init knowledge item form 3 months ago
tailwind.config.js 66b38155f3 feat: knowledge page 3 months ago
tsconfig.app.json 9a4f21aaa3 feat: initial 3 months ago
tsconfig.json 9a4f21aaa3 feat: initial 3 months ago

README.md

本项目为<<双预防>>工程

前端 Angular(18.0.7) + node.js(v20.15.0)

node 管理工具 fnm ,也可使用 nvm ,但 node 版本请保持一致

fnm list; fnm install v20.15.0; fnm use v20.15.0

注意:在项目的根目录里创建.node-version 文件可以打开项目时自动切换成对应的 node 版本

后端 Php(8.0)

数据库 Mysql(8.0)

angular 安装命令: npm install -g @angular/cli

如遇到 powershell 执行策略问题

请运行: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

本工程代码运行命令:ng serve http://localhost:4200/

本工程代码编译命令:ng build dist/

本工程创建组件命令:ng generate component|directive|pipe|service|class|guard|interface|enum|module name

本工程调用帮助命令:ng help

本工程使用 pretty 格式化文档