Avatar of Seven price
Seven price
Flag for United States of America

asked on 

convert Systemjs to Webpack

Started angular2 app in a mvc application.
want to upgrade to the latest using webpack Angular Cli.

The application works as is using the app folder in the root and my mvc is called in my views folder and my main layout.cshtml is used here to call my
main page.
 <script>
        System.import('app').catch(function(err){ console.error(err); });
    </script>

my index.cshtml located in my view Home folder.    <callindex-app></callindex-app>

If I use webpack System.import is not supported and that eliminates my index.cshtml from using any of the angular2 functions.

Is there a way I can still call an angular2 application and embed it in a index.cshtml page like I am doing with systemjs angular2
.NET MVC* webpackAngularProgrammingHTML

Avatar of undefined
Last Comment
Julian Hansen

8/22/2022 - Mon