Hands-On Full Stack Web Development with Angular 6 and Laravel 5
上QQ阅读APP看书,第一时间看更新

Working with modules

Modules are very important when developing large-scale applications with TypeScript. They allow us to import and export code, classes, interfaces, variables, and functions. These functions are extremely common in applications with Angular.

However, they can only be accomplished by using a library, which could be Require.js for the browser, or Common.js for Node.js.

In the following sections, we will illustrate how we can use these features in practice.