mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Upgrade Demo App to angular 2.0.0-rc.1
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Component } from 'angular2/core';
|
||||
import { Router, RouteConfig, ROUTER_DIRECTIVES } from 'angular2/router';
|
||||
import { Component } from '@angular/core';
|
||||
import { Router, RouteConfig, ROUTER_DIRECTIVES } from '@angular/router-deprecated';
|
||||
import { MDL } from 'ng2-alfresco-core/dist/ng2-alfresco-core';
|
||||
import { FilesComponent } from './components/files/files.component';
|
||||
import { AuthRouterOutlet } from './components/router/AuthRouterOutlet';
|
||||
|
||||
import {
|
||||
AlfrescoSettingsService,
|
||||
AlfrescoTranslationService,
|
||||
@@ -39,7 +39,7 @@ declare var document: any;
|
||||
selector: 'alfresco-app',
|
||||
templateUrl: 'app/app.component.html',
|
||||
styleUrls: ['app/app.component.css'],
|
||||
directives: [SearchBarComponent, ROUTER_DIRECTIVES, AuthRouterOutlet, MDL],
|
||||
directives: [SearchBarComponent, ROUTER_DIRECTIVES, MDL],
|
||||
pipes: [AlfrescoPipeTranslate]
|
||||
})
|
||||
@RouteConfig([
|
||||
|
Reference in New Issue
Block a user