User Tools

Site Tools


dev:browser_staff:angular5

This is an old revision of the document!


Staff Client Angular 5 Migration Notebook

Resources

Bootstrap 4 Notes

  • Implicit in the move to Ang5 is a move to BS 4. The Ang5-compatible bootstrap library ng-bootstrap supports BS 4 only.
  • Version 4 is mostly backward compatible with version 3.
  • The "panel" is no more – replaced with "card".
  • Glyphicons are deprecated (and have license restrictions). BS suggests some alternatives.
  • The utility classes have been expanded
  1. Follow the AngularJS Style Guide
  2. Using a Module Loader
    1. Angular5 (well, ng-cli) uses Webpack by default.
    2. May be implemented independent of any Ang5 upgrade plans.
    3. Can be rolled out in multiple phases.
      1. Phase I: Use webpack as a drop-in replacement for Grunt for compiling builds (and use npm to run karma unit tests).
        1. This is low impact. No application code changes are required.
        2. I have a branch that does this (plus Angular 1.6 – TODO: post to LP)
      2. Phase II: Start using ES6-style module 'import' statements for specifying dependencies.
        1. These replace <script/> imports
  3. Migrating to TypeScript
  4. Using Component Directives
  5. Upgrading with ngUpgrade

See also https://angular-2-training-book.rangle.io/handout/migrate/ng-upgrade/order_of_operations.html

dev/browser_staff/angular5.1513872415.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.