mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Angular 2 Document List - Demo</title>
|
<title>Alfresco Angular 2 Document List - Demo</title>
|
||||||
<base href="./">
|
<base href="./">
|
||||||
|
|
||||||
<!-- Google Material Design Lite -->
|
<!-- Google Material Design Lite -->
|
||||||
|
@@ -26,7 +26,7 @@ Components included:
|
|||||||
Add the following dependency to your index.html:
|
Add the following dependency to your index.html:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="node_modules/alfresco-core-rest-api/bundle.js"></script>
|
<script src="node_modules/alfresco-js-api/bundle.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Also make sure you include these dependencies in your .html page:
|
Also make sure you include these dependencies in your .html page:
|
||||||
|
@@ -2,17 +2,18 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Alfresco Angular 2 Testing - Demo</title>
|
<title>Alfresco Angular 2 Login - Demo</title>
|
||||||
<base href="./">
|
<base href="./">
|
||||||
|
|
||||||
<!-- Google Material Design Lite -->
|
<!-- Google Material Design Lite -->
|
||||||
<link rel="stylesheet" href="/assets/material.orange-blue.min.css">
|
<link rel="stylesheet" href="assets/material.orange-blue.min.css">
|
||||||
<script src="node_modules/material-design-lite/material.min.js"></script>
|
<script src="node_modules/material-design-lite/material.min.js"></script>
|
||||||
<link rel="stylesheet" href="node_modules/material-design-icons/iconfont/material-icons.css">
|
<link rel="stylesheet" href="node_modules/material-design-icons/iconfont/material-icons.css">
|
||||||
|
|
||||||
<!-- 1. Load libraries -->
|
<!-- 1. Load libraries -->
|
||||||
<!-- Polyfill(s) for older browsers -->
|
<!-- Polyfill(s) for older browsers -->
|
||||||
<script src="node_modules/core-js/client/shim.min.js"></script>
|
<script src="node_modules/core-js/client/shim.min.js"></script>
|
||||||
|
|
||||||
<script src="node_modules/zone.js/dist/zone.js"></script>
|
<script src="node_modules/zone.js/dist/zone.js"></script>
|
||||||
<script src="node_modules/reflect-metadata/Reflect.js"></script>
|
<script src="node_modules/reflect-metadata/Reflect.js"></script>
|
||||||
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { bootstrap } from '@angular/platform-browser-dynamic';
|
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
||||||
import {
|
import {
|
||||||
Router,
|
Router,
|
||||||
RouteConfig,
|
RouteConfig,
|
||||||
|
@@ -21,8 +21,8 @@
|
|||||||
'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
|
'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
|
||||||
|
|
||||||
'ng2-translate': { defaultExtension: 'js' },
|
'ng2-translate': { defaultExtension: 'js' },
|
||||||
'ng2-alfresco-login': { defaultExtension: 'js' },
|
'ng2-alfresco-core': { defaultExtension: 'js' },
|
||||||
'ng2-alfresco-core': { defaultExtension: 'js' }
|
'ng2-alfresco-login': { defaultExtension: 'js' }
|
||||||
};
|
};
|
||||||
var ngPackageNames = [
|
var ngPackageNames = [
|
||||||
'common',
|
'common',
|
||||||
|
@@ -78,9 +78,8 @@
|
|||||||
"rxjs": "5.0.0-beta.6",
|
"rxjs": "5.0.0-beta.6",
|
||||||
"zone.js": "^0.6.12",
|
"zone.js": "^0.6.12",
|
||||||
"angular2-in-memory-web-api": "0.0.11",
|
"angular2-in-memory-web-api": "0.0.11",
|
||||||
|
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"alfresco-core-rest-api": "^0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-translate": "2.1.0"
|
"ng2-translate": "2.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@@ -29,7 +29,7 @@ This component, provide a buttons to upload files to alfresco.
|
|||||||
Add the following dependency to your index.html:
|
Add the following dependency to your index.html:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="node_modules/alfresco-core-rest-api/bundle.js"></script>
|
<script src="node_modules/alfresco-js-api/bundle.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Also make sure you include these dependencies in your .html page:
|
Also make sure you include these dependencies in your .html page:
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<base href="./">
|
<base href="./">
|
||||||
|
|
||||||
<!-- Google Material Design Lite -->
|
<!-- Google Material Design Lite -->
|
||||||
<link rel="stylesheet" href="/assets/material.orange-blue.min.css">
|
<link rel="stylesheet" href="assets/material.orange-blue.min.css">
|
||||||
<script src="node_modules/material-design-lite/material.min.js"></script>
|
<script src="node_modules/material-design-lite/material.min.js"></script>
|
||||||
<link rel="stylesheet" href="node_modules/material-design-icons/iconfont/material-icons.css">
|
<link rel="stylesheet" href="node_modules/material-design-icons/iconfont/material-icons.css">
|
||||||
|
|
||||||
|
@@ -73,7 +73,7 @@
|
|||||||
"rxjs": "5.0.0-beta.6",
|
"rxjs": "5.0.0-beta.6",
|
||||||
"zone.js": "^0.6.12",
|
"zone.js": "^0.6.12",
|
||||||
"angular2-in-memory-web-api": "0.0.11",
|
"angular2-in-memory-web-api": "0.0.11",
|
||||||
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "^0.1.0",
|
"ng2-alfresco-core": "^0.1.0",
|
||||||
"ng2-translate": "2.1.0"
|
"ng2-translate": "2.1.0"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user