Angular2: angular-cli production works in Chrome, not IE or FF all is well here: http://secure.digitalsignage.com/boiler/ when using chrome but try in IE or FF and bunch of errors.
and I have pollyfills: main.ts
import './polyfills.ts';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { environment } from './environments/environment';
import { AppModule } from './app/';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule);
any ideas?
this is the project: https://github.com/born2net/Angular-kitchen-sink
regards
Sean
found the issue, I missed a this
and Chrome was fine with it, IE and FF not.. fixed!
tx
Sean
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.