Skip to content

Commit

Permalink
feat: standalone components
Browse files Browse the repository at this point in the history
  • Loading branch information
herefishyfish committed Oct 3, 2023
1 parent 46547a5 commit a490a3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, NO_ERRORS_SCHEMA, ViewChild } from '@angular/core';
import { Component, ViewChild } from '@angular/core';
import { Page } from '@nativescript/core';
import { PageRouterOutlet } from './page-router-outlet';

Expand All @@ -7,7 +7,7 @@ import { PageRouterOutlet } from './page-router-outlet';
selector: 'ns-empty-outlet',
template: "<page-router-outlet isEmptyOutlet='true'></page-router-outlet>",
standalone: true,
schemas: [NO_ERRORS_SCHEMA],
imports: [PageRouterOutlet],
})
export class NSEmptyOutletComponent {
@ViewChild(PageRouterOutlet, { read: PageRouterOutlet, static: false }) pageRouterOutlet: PageRouterOutlet;
Expand Down

0 comments on commit a490a3f

Please sign in to comment.