/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/examples/core/ts/bootstrap/bootstrap.ts
22 строки
484 B
Shuaib Hasan Akib
refactor(common): sync examples with Angular style guide (#64167)
13 окт 2025, 18:29
13 окт 2025, 18:29
450a38b
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Component} from '@angular/core'; import {bootstrapApplication} from '@angular/platform-browser'; @Component({ selector: 'app-root', template: 'Hello {{ name }}!', }) class MyApp { name: string = 'World'; } export function main() { bootstrapApplication(MyApp); }