Puas yog angular ua haujlwm ntawm IE?
Puas yog angular ua haujlwm ntawm IE?

Video: Puas yog angular ua haujlwm ntawm IE?

Video: Puas yog angular ua haujlwm ntawm IE?
Video: TSIS YOG PEB UA HAUJ LWM ZOO .\\ N.TSHUAV NUM |\ N.IAM VAJ XOB \\ N.TXOOV KAV NKAUJ 2023 2024, Kaum ib hlis
Anonim

Txhawb nqa Internet Explorer hauv ib Angular Daim ntawv thov CLI

Koj ntsia lub Angular CLI thiab siv nws los tsim koj daim ntawv thov tshiab. Tab sis, thaum koj sim saib nws hauv Internet Explorer ( IE ), koj tsis pom dab tsi. Angular Cov ntawv thov CLI xav tau ob peb kauj ruam ntxiv txhawm rau txhawb nqa Internet Explorer.

Tsuas yog li ntawd, angular puas ua haujlwm hauv Internet Explorer?

Raws li tej zaum koj paub, Angular txhawb nqa Internet Explorer kom txog rau thaum version 9, tab sis koj yuav tsum siv qee cov ntawv "polyfill". Yog tias koj siv CLI, thiab kuv vam tias koj tsis pib ua haujlwm yam tsis muaj CLI tseem, koj twb muaj polyfills. ts hauv koj daim nplaub tshev src.

Kuj Paub, puas angular ua haujlwm nrog mobile browsers? Tsis ntev los no versions ntawm Angular txhawb txhua qhov tseeb versions ntawm txhua qhov loj browsers zoo li Firefox, Chrome, Safari, iOS thiab Android . Txawm li cas los xij, hauv Internet Explorer, Angular tsuas yog txhawb los ntawm versions 9, 10, thiab 11.

Ua kom pom qhov no, angular Polyfills yog dab tsi?

Polyfills hauv lub kaum sab xis yog ob peb kab ntawm cov cai uas ua rau koj daim ntawv thov siv tau rau cov browser sib txawv. Cov cai uas peb sau feem ntau yog nyob rau hauv ES6 (New Features: Overview and Comparison) thiab tsis sib xws nrog IE lossis firefox thiab xav tau qee qhov kev teeb tsa ib puag ncig ua ntej tuaj yeem saib lossis siv hauv cov browsers no.

Dab tsi yog Browserslist hauv angular?

Dab tsi yog lub hom phiaj ntawm " browserslist "file in Angular ? Cov browserlist yog cov ntaub ntawv config uas koj tuaj yeem txhais koj lub hom phiaj browsers. Nws tsis yog ib yam dab tsi Angular -Specific tab sis tus qauv hla ntau cov cuab yeej frontend ntsig txog. Angular siv nws nyob rau hauv nws tus txheej txheem tsim los txiav txim seb qhov sib txawv loading yuav tsum tau siv.

Pom zoo: