上QQ阅读APP看书,第一时间看更新
Angular 6 – smaller, faster, and easier
The following features are not exclusively for version 6, but were included from version 5; we are just mentioning them here because they are powerful features for building modern web applications:
- Webpack: You can now generate smaller modules by using the scope hosting technique.
- You can reduce bundle sizes for common use cases by using the RxJS 6 library for JavaScript.
- The Angular CLI, allowing for commands such as ng update, can be used to update all dependencies.
- You will have the option to start your application using Angular material design.
- The ng add command supports creating progressive web applications or turning an existing one into a Progressive Web Application (PWA).
- You will have the opportunity to use Bazel to build your application's libraries and to share libraries with other teams.
- Angular makes it possible to package custom HTML/JavaScript elements for use in third-party applications.
Of course, there are many other improvements and features in the Angular 6 release; note that this book was written on the Angular 6 beta 7 version, and the next chapters will have more news about the current Angular version.