mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#88 Demo fix
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
<title>Angular 2 Testing</title>
|
||||
<base href="/">
|
||||
|
||||
<!-- Google Material Design Lite -->
|
||||
<link rel="stylesheet" href="node_modules/material-design-lite/material.min.css">
|
||||
<script src="node_modules/material-design-lite/material.min.js"></script>
|
||||
<link rel="stylesheet" href="node_modules/material-design-icons/iconfont/material-icons.css">
|
||||
|
||||
<!-- 1. Load libraries -->
|
||||
<!-- IE required polyfills, in this exact order -->
|
||||
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
|
||||
@@ -16,6 +21,7 @@
|
||||
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
|
||||
<script src="node_modules/angular2/bundles/router.dev.js"></script>
|
||||
<script src="node_modules/angular2/bundles/http.dev.js"></script>
|
||||
<script src="node_modules/alfresco-core-rest-api/bundle.js"></script>
|
||||
|
||||
<script>
|
||||
System.config({
|
||||
@@ -23,14 +29,13 @@
|
||||
map: {
|
||||
'ng2-alfresco-core': 'node_modules/ng2-alfresco-core',
|
||||
'ng2-alfresco-login': 'node_modules/ng2-alfresco-login',
|
||||
'ng2-translate': 'node_modules/ng2-translate',
|
||||
'rxjs': 'node_modules/rxjs',
|
||||
'angular2' : 'node_modules/angular2',
|
||||
'ng2-translate' : 'node_modules/ng2-translate',
|
||||
'app': 'dist/src'
|
||||
'ng2-translate': 'node_modules/ng2-translate',
|
||||
'src': 'src'
|
||||
},
|
||||
packages: {
|
||||
'app': {
|
||||
'src': {
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
'ng2-alfresco-core': {
|
||||
@@ -39,9 +44,6 @@
|
||||
'ng2-alfresco-login': {
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
'ng2-translate': {
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
'rxjs': {
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
@@ -51,7 +53,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
System.import('dist/src/my-app').catch(console.log.bind(console));
|
||||
System.import('dist/main').catch(console.log.bind(console));
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user