dev:browser_staff:angular5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:browser_staff:angular5 [2017/12/21 11:06] – [Bootstrap 4 Notes] erickson | dev:browser_staff:angular5 [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 20: | Line 20: | ||
==== Bootstrap 4 Notes ==== | ==== Bootstrap 4 Notes ==== | ||
- | * Implicit in the move to Ang5 is a move to BS 4. | + | * The Ang5-compatible bootstrap library ng-bootstrap supports |
* Version 4 is mostly backward compatible with version 3. | * Version 4 is mostly backward compatible with version 3. | ||
* The " | * The " | ||
Line 33: | Line 33: | ||
==== Upgrade Path Recommended by Angular ==== | ==== Upgrade Path Recommended by Angular ==== | ||
- | |||
- | - Follow the AngularJS Style Guide | ||
- | - Using a Module Loader | ||
- | - Angular5 (well, ng-cli) uses Webpack by default. | ||
- | - May be implemented independent of any Ang5 upgrade plans. | ||
- | - Can be rolled out in multiple phases. | ||
- | - Phase I: Use webpack as a drop-in replacement for Grunt for compiling builds (and use npm to run karma unit tests). | ||
- | - This is low impact. | ||
- | - I have a branch that does this (plus Angular 1.6 -- TODO: post to LP) | ||
- | - Phase II: Start using ES6-style module ' | ||
- | - https:// | ||
- | - These replace < | ||
- | - Migrating to TypeScript | ||
- | - Using Component Directives | ||
- | - Upgrading with ngUpgrade | ||
See also https:// | See also https:// | ||
+ | |||
+ | === I. Follow the AngularJS Style Guide === | ||
+ | |||
+ | === II. Use a Module Loader === | ||
+ | |||
+ | - Angular5 (well, ng-cli) uses Webpack by default. | ||
+ | - May be implemented independent of any Ang5 upgrade plans. | ||
+ | - Improved options for creating of JS, etc. bundles | ||
+ | - Can be implemented in low-impact phases. | ||
+ | - Phase I: Use webpack as a drop-in replacement for Grunt for compiling builds (and use npm to run karma unit tests). | ||
+ | - No application code changes are required. | ||
+ | - I have a branch that does this (plus Angular 1.6 -- https:// | ||
+ | - Phase II: Start using ES6-style module ' | ||
+ | - https:// | ||
+ | - These ultimately replace < | ||
+ | |||
+ | === III. Migrating to TypeScript === | ||
+ | |||
+ | === IV. Using Component Directives === | ||
+ | |||
+ | === V. Upgrade with ngUpgrade === | ||
+ | |||
+ |
dev/browser_staff/angular5.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1