- 新增模块
blogAdmin/
ng g ng-alain:module test - 添加页面
test/
ng g c hello - 添加路由 routes-routing.module.ts
- ADD editor.md
- npm i -D jquery editor.md
- npm audit fix ( 提示 run
npm audit fix
to fix them)
- 配置使用
- cp node_modules/editor.md/ src/assets/ -r
- 配置 angular.json
- 修复 ./src/assets/editor.md/css/editormd.css:3084
.../fonts/editormd-logo.eot?#iefix-5y8q6h
to../fonts/editormd-logo.eot?#iefix-5y8q6h
- MD 指令
- 测试demo editor
- hello
- editor
- apollo
- ng add apollo-angular
- index 文章列表
- add 新增文章
- edit 编辑文章
- article 服务 生成服务指令: ng g s article
https://www.jianshu.com/p/dc55ddd6c5c2 git commit 时 检查代码
https://blog.csdn.net/wf19930209/article/details/80413904 ng test
ERROR Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges LINK: https://cloud.tencent.com/developer/ask/43068 cause: apollo: 试图销毁 的订阅问题 解决办法: 视图销毁前, 取消订阅
https://www.jianshu.com/p/f4a98e17e766
- 如果 一个数据多个接口, 不能判断的时候,需要断言处理
The MIT License (see the LICENSE file for the full text)