import { Router, ActivatedRoute } from '@angular/router';
import { EventEmitter } from '@angular/core';
-
与子组件通讯
-
与其它组件通讯
- 更新所有能更新的并保存版本号到package.json
- npm update --save --save-dev
- 查看版本
- npm list --depth 0
- npm outdated
- 查看依赖
- npm view xxxpackage/xxx@xx.x.x peerDependencies
- npm-check
- npm install -g npm-check
- npm-check [-u -g]
- npm-check-updates -u => npm install
echo "# jubilant-sniffle" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/sintak/jubilant-sniffle.git
git push -u origin master
git remote add origin https://github.com/sintak/jubilant-sniffle.git
git push -u origin master
git remote rm origin
- 修改命令 git remte origin set-url URL
- 先删后加 git remote rm origin git remote add origin git@github.com:Liutos/foobar.git
- 直接修改config文件
npm install @types/reflect-metadata --save-dev
npm install reflect-metadata --save
import "reflect-metadata";