Full-Stack freelance Umbraco developer in the UK.

George Phillipson - Freelance Umbraco developer

Setting Up Angular 2 In Visual Studio 2017

Setting up Angular 2 in Visual Studio 2017
cmd prompt
External web tools
"angular-in-memory-web-api": "~0.3.0",
    "systemjs": "0.19.40",
    "core-js": "^2.4.1",
    "rxjs": "5.5.12",
    "zone.js": "^0.8.4"
@section Angular
{
    <base href="/src/main.js">
    <script src="~/node_modules/core-js/client/shim.js"></script>
    <script src="~/node_modules/zone.js/dist/zone.js"></script>
    <script src="~/node_modules/systemjs/dist/system.src.js"></script>
    <script src="~/src/systemjs.config.js"></script>
    <script>
        System.import('main.js').catch(function(err){ console.error(err); });
    </script>
}
<my-app>Loading AppComponent content here ...</my-app>
Hello Angular

Please enter your comment.