Ab diesem Datum this plunker seems to work, version: [email protected]
Dies ist die Systemjs config:
/**
* PLUNKER VERSION
* (based on systemjs.config.js in angular.io)
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
// DEMO ONLY! REAL CODE SHOULD NOT TRANSPILE IN THE BROWSER
transpiler: 'ts',
typescriptOptions: {
tsconfig: true
},
meta: {
'typescript': {
"exports": "ts"
}
},
paths: {
// paths serve as alias
'npm:': 'https://unpkg.com/'
},
// map tells the System loader where to look for things
map: {
// our app is within the app folder
app: 'app',
pages: 'pages',
// angular bundles
'@angular/core': 'npm:@angular/[email protected]/bundles/core.umd.js',
'@angular/common': 'npm:@angular/[email protected]/bundles/common.umd.js',
'@angular/compiler': 'npm:@angular/[email protected]/bundles/compiler.umd.js',
'@angular/platform-browser': 'npm:@angular/[email protected]/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': 'npm:@angular/[email protected]/bundles/platform-browser-dynamic.umd.js',
'@angular/http': 'npm:@angular/[email protected]/bundles/http.umd.js',
'@angular/forms': 'npm:@angular/[email protected]/bundles/forms.umd.js',
'ionic-angular': 'npm:ionic-a[email protected]',
'rxjs': 'npm:[email protected]',
'ts': 'npm:[email protected]/lib/plugin.js',
'typescript': 'npm:[email protected]/lib/typescript.js',
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
app: {
main: './main.ts',
defaultExtension: 'ts'
},
pages: {
defaultExtension: 'ts'
},
rxjs: {
defaultExtension: 'js'
},
'ionic-angular': {
main: './umd/index.js',
defaultExtension: 'js'
}
}
});
})(this);
/*
Copyright 2016 Google Inc. All Rights Reserved.
Use of this source code is governed by an MIT-style license that
can be found in the LICENSE file at http://angular.io/license
*/
Und TSconfig:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
}
Ich denke, das ist eher eine ionische Sache und kein Rahmen? Es ist schwierig, das vollständige Routing einer mobilen App in einem Browser zu replizieren. – LeRoy
ok ..Ich brauche nur Hallo Welt iisng ionic 2 – user944513