PR Close #21701
This commit is contained in:
parent
c65634215b
commit
e82812b9a9
|
@ -616,10 +616,19 @@ If you aren't using the CLI, you should add your polyfill scripts directly to th
|
||||||
<!-- pre-zone polyfills -->
|
<!-- pre-zone polyfills -->
|
||||||
<script src="node_modules/core-js/client/shim.min.js"></script>
|
<script src="node_modules/core-js/client/shim.min.js"></script>
|
||||||
<script src="node_modules/web-animations-js/web-animations.min.js"></script>
|
<script src="node_modules/web-animations-js/web-animations.min.js"></script>
|
||||||
|
<script>
|
||||||
|
/**
|
||||||
|
* you can configure some zone flags which can disable zone interception for some
|
||||||
|
* asynchronous activities to improve startup performance - use these options only
|
||||||
|
* if you know what you are doing as it could result in hard to trace down bugs..
|
||||||
|
*/
|
||||||
|
// __Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
|
||||||
|
// __Zone_disable_on_property = true; // disable patch onProperty such as onclick
|
||||||
|
// __zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- zone.js required by Angular -->
|
<!-- zone.js required by Angular -->
|
||||||
<script src="node_modules/zone.js/dist/zone.js"></script>
|
<script src="node_modules/zone.js/dist/zone.js"></script>
|
||||||
|
|
||||||
<!-- application polyfills -->
|
<!-- application polyfills -->
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue