aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-19 22:49:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-19 22:49:31 +0200
commitec8d8440a893ba64075da2e57ea04c7976e0b303 (patch)
treea8fed5e1e6e06317533ebf021c1244c057e670c2 /client/src/app/app.component.ts
parentad22074a780b4bdbe3cd9e903b3fa5ef83eaef14 (diff)
downloadPeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.gz
PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.zst
PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.zip
Client: use templateUrl/styleUrls instead of require
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index e81993a3f..d6b83c684 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -3,8 +3,8 @@ import { Router } from '@angular/router';
3 3
4@Component({ 4@Component({
5 selector: 'my-app', 5 selector: 'my-app',
6 template: require('./app.component.html'), 6 templateUrl: './app.component.html',
7 styles: [ require('./app.component.scss') ] 7 styleUrls: [ './app.component.scss' ]
8}) 8})
9 9
10export class AppComponent { 10export class AppComponent {