Angular application does not run locally on IE?

Asked

Viewed 730 times

0

Follows the image of the error in the browser (Internet Explorer v.11):

inserir a descrição da imagem aqui

DETAIL: in other browsers (Chrome and Firefox) works (wheel/charge).

1 answer

1


According to this reply you have to uncomment the polyfills.ts file by default inside the src folder

/***************************************************************************************************
 * BROWSER POLYFILLS
 */

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
 import 'core-js/es6/symbol';
 import 'core-js/es6/object';
 import 'core-js/es6/function';
 import 'core-js/es6/parse-int';
 import 'core-js/es6/parse-float';
 import 'core-js/es6/number';
 import 'core-js/es6/math';
 import 'core-js/es6/string';
 import 'core-js/es6/date';
 import 'core-js/es6/array';
 import 'core-js/es6/regexp';
 import 'core-js/es6/map';
 import 'core-js/es6/set';
  • Okay, I’ll check it out.

  • Okay, it worked @Eduardo Vargas, now if you had a tutorial to pass me on "routes", why am I taking a dick, I would appreciate.

  • 1

    These days I answered a post about routes maybe help you https://answall.com/questions/297751/componente-filho-componente-n%C3%A3o-carrega/297863#297863 but the best and the same documentation. Or ask another question there. If you don’t do Lazy-loading it is not so complicated, just remember to put the right number of <router-outlets> tbm

  • Okay, I just asked for you, and don’t get me wrong is why my English is terrible and on the net n has great tutorials and vi q vc is an expert in Angular. But I’m happy and grateful anyway!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.