diff --git a/.angular-cli.json b/.angular-cli.json index 6cdb561bf..4b2170bbe 100644 --- a/.angular-cli.json +++ b/.angular-cli.json @@ -75,6 +75,10 @@ }, "defaults": { "styleExt": "scss", - "component": {} + "component": {}, + "serve": { + "proxyConfig": "proxy.conf.json", + "port": 3000 + } } } diff --git a/package.json b/package.json index 1ad3470f6..50ac090c1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "scripts": { "ng": "ng", - "start": "ng serve --proxy-config proxy.conf.json --open", + "start": "ng serve --open", "build": "ng build", "test": "ng test", "lint": "ng lint", diff --git a/src/app/ui/application.scss b/src/app/ui/application.scss index 58c2fcae1..5a7365ee3 100644 --- a/src/app/ui/application.scss +++ b/src/app/ui/application.scss @@ -12,7 +12,7 @@ html, body { margin: 0; } -alfresco-content-app > ng-component { +app-root > ng-component { display: block; width: 100%; height: 100%;