Answer the question
In order to leave comments, you need to log in
Why does the "Zone already loaded" error occur when using several angular applications on one page?
There are several applications on one page:
<body>
<h1>First-app</h1>
<dr-first-app></dr-first-app>
<h1>Second-app</h1>
<dr-sec-app></dr-sec-app>
<script type="text/javascript" src="/js/first-app/runtime.js"></script>
<script type="text/javascript" src="/js/first-app/polyfills.js"></script>
<script type="text/javascript" src="/js/first-app/vendor.js"></script>
<script type="text/javascript" src="/js/first-app/main.js"></script>
<script type="text/javascript" src="/js/second-app/runtime.js"></script>
<script type="text/javascript" src="/js/second-app/vendor.js"></script>
<script type="text/javascript" src="/js/second-app/main.js"></script>
</body>
zone.js:32 Uncaught Error: Zone already loaded
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question