架構概覽 | Angular 是什麼
Angular是一個用HTML和TypeScript建構客戶端應用的平臺與框架。Angular本身就是用TypeScript寫成的。它將核心功能和可選功能作為一組TypeScript函式庫進行實現,你可以把它們匯入你的應用中。Angularisaplatformandframeworkforbuildingsingle-pageclientapplicationsusingHTMLandTypeScript.AngulariswritteninTypeScript.ItimplementscoreandoptionalfunctionalityasasetofTypeScriptlibrariesthatyouimportintoyourapps.Angular的基本構成要素是NgModule,它為元件提供了編譯的上下文環境。NgModule會把相關的程式碼收集到一些功能...
Angular 是一個用 HTML 和 TypeScript 建構客戶端應用的平臺與框架。 Angular 本身就是用 TypeScript 寫成的。它將核心功能和可選功能作為一組 TypeScript 函式庫進行實現,你可以把它們匯入你的應用中。
Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your apps.
Angular 的基本構成要素是 NgModule,它為元件提供了編譯的上下文環境。 NgModule 會把相關的程式碼收集到一些功能集中。Angular 應用就是由一組 NgModule 定義出的。 應用至少會有一個用於引導應用的根模組,通常還會有很多特性模組。
The architecture of an Angular application relies on certain fundamental concepts. The basic building blocks of the Angular framework are Angular components that are organized into NgModules. NgModules collect related code into functional sets; an Angular app is defined by a set of NgModules. An app always has at least a root module that enables bootstrapping, and typ...