Replace template/styles with templateUrl/styleUrls
This commit is contained in:
@@ -2,8 +2,8 @@ import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'notification',
|
||||
template: require('./notification.component.html'),
|
||||
styles: [require('./notification.component.scss')]
|
||||
templateUrl: './notification.component.html',
|
||||
styleUrls: ['./notification.component.scss']
|
||||
})
|
||||
export class NotificationComponent {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user