Загрузка...

New in Angular 21: 2016 File Naming Option #angular #angular21

Angular 21 introduces a new file naming option that lets you create projects using the older 2016 style guide for file names. This means your components, services, directives, and other files get the classic suffixes like 'app.component.ts' and 'user.service.ts'.

The setting also makes sure future 'ng generate' commands follow the same naming style, while class names and selectors stay clean.

→ Quick example: `ng new my-app --file-name-style-guide 2016`

ℹ️ Source: https://github.com/angular/angular-cli/pull/31053

Видео New in Angular 21: 2016 File Naming Option #angular #angular21 канала Igor Sedov
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять