Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-docs-cn/aio/content/examples/ngmodule-faq/src/app/app.component.2.ts

11 lines
191 B
TypeScript
Raw Normal View History

feat(aio): copy example code from angular.io
2017-02-22 18:13:21 +00:00
import { Component } from '@angular/core';
@Component({
build(aio): change examples to CLI (#19248) PR Close #19248
2017-08-22 21:31:15 +02:00
selector: 'app-root',
feat(aio): copy example code from angular.io
2017-02-22 18:13:21 +00:00
template: `
docs: NgModule guide prose for CLI (partial) (#19776) Also replaces “Angular Module” with “NgModule” wherever that is clarifying. Continue using “module” when qualified as in “feature module”, “root module”, “routing module”, etc. PR Close #19776
2017-10-17 17:36:22 -07:00
<app-title></app-title>
feat(aio): copy example code from angular.io
2017-02-22 18:13:21 +00:00
<app-contact></app-contact>
`
})
docs: NgModule guide prose for CLI (partial) (#19776) Also replaces “Angular Module” with “NgModule” wherever that is clarifying. Continue using “module” when qualified as in “feature module”, “root module”, “routing module”, etc. PR Close #19776
2017-10-17 17:36:22 -07:00
export class AppComponent {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 135ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API