-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(demo): set changelog page as standalone
- Loading branch information
Showing
3 changed files
with
6 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
projects/demo/src/modules/info/changelog/changelog.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import {AsyncPipe} from '@angular/common'; | ||
import {ChangeDetectionStrategy, Component} from '@angular/core'; | ||
import {TuiDocPageModule, TuiMarkdownPipe} from '@taiga-ui/addon-doc'; | ||
|
||
@Component({ | ||
standalone: true, | ||
selector: 'changelog', | ||
imports: [TuiDocPageModule, TuiMarkdownPipe, AsyncPipe], | ||
templateUrl: './changelog.template.html', | ||
styleUrls: ['./changelog.component.less'], | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ChangelogComponent { | ||
export default class ChangelogComponent { | ||
readonly changelog = import('../../../../../../CHANGELOG.md?raw'); | ||
} |
18 changes: 0 additions & 18 deletions
18
projects/demo/src/modules/info/changelog/changelog.module.ts
This file was deleted.
Oops, something went wrong.