Disaster-Backup Front

angular2

ngx-bootstrap

安裝:https://github.com/valor-software/ngx-bootstrap 手冊:http://valor-software.com/ngx-bootstrap/#/alerts

angular cli

使用方法: https://github.com/angular/angular-cli

scss 学习

https://www.w3cplus.com/sassguide/

sidebar

metismenu : https://github.com/onokumus/metismenu


Tips:(熟悉之后删除)

  1. 内容部分路由添加处: app/home-root/home-root.routes.ts
  2. 全局css 修改处:assets/_app-base.scss
  3. 全局css 变量定义(包括修改bootstrap的样式): assets/_variables.scss
  4. sidebar, navbar 组件位置: app/home-root/... 样式位置: assets/scss/header.scss & sidebar.scss
  5. 添加组件方法: ng g component name(组件名称) eg. ng g component dashboard 如果是父子组件: ng g component father ng g component father/son