mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(demos): fix the template for demos with the angular update
This commit is contained in:
@ -14,16 +14,26 @@
|
|||||||
<script src="../../js/es6-module-loader.src.js"></script>
|
<script src="../../js/es6-module-loader.src.js"></script>
|
||||||
<script src="../../js/system.src.js"></script>
|
<script src="../../js/system.src.js"></script>
|
||||||
<script>
|
<script>
|
||||||
System.config({
|
System.config({
|
||||||
map: {
|
map: {
|
||||||
'angular2': '/angular2'
|
'@angular/core': '/node_modules/@angular/core/core.umd.js',
|
||||||
|
'@angular/compiler': '/node_modules/@angular/compiler/compiler.umd.js',
|
||||||
|
'@angular/common': '/node_modules/@angular/common/common.umd.js',
|
||||||
|
'@angular/http': '/node_modules/@angular/http/http.umd.js',
|
||||||
|
'@angular/platform-browser': '/node_modules/@angular/platform-browser/platform-browser.umd.js',
|
||||||
|
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js',
|
||||||
|
'@angular/router': '/node_modules/@angular/router/router.umd.js',
|
||||||
|
'ionic-angular': '/ionic'
|
||||||
|
},
|
||||||
|
packages: {
|
||||||
|
'ionic-angular': {
|
||||||
|
main: 'index'
|
||||||
},
|
},
|
||||||
packages: {
|
'rxjs': {
|
||||||
'ionic-angular': {
|
defaultExtension: 'js'
|
||||||
main: 'index'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<script src="../../js/angular2-polyfills.js"></script>
|
<script src="../../js/angular2-polyfills.js"></script>
|
||||||
<script src="../../js/angular2.dev.js"></script>
|
<script src="../../js/angular2.dev.js"></script>
|
||||||
|
Reference in New Issue
Block a user