I have an existing Angular4 application built with the angular CLI. Developed as normal, with index.html and main.ts as it's entry points. The project users SASS for CSS.
I now need to have this Angular app running inside a .NET Core web application (which I know was a headache in the past), so I know that in Visual Studio 2017, Microsoft had created new web templates especially for Angular and React.
I've created a new project with the Angular template, copy & pasted the appropriate dependencies inside the packages.json file, copied the source from the src directory to the ClientApp directory, adjusted the default webapp file to load the appropriate files, but I get a lot of error messages (too many to even paste here).
I don't think I'm dealing with one specific problem, but with a whole different methodology for Angular development. Is there some guide on how to convert an Angular4 CLI project to Visual Studio .NET Core 2 template?
In my opinion it still being a really hard work. What we did in our project was to start a new .NET core angular project from the scratch using Visual Studio 2017 and started putting file by file. Start with one of your minimalist component. Put all the scripts and theme, amend the routes, and other suggestion is to upgrade some of things like npm, typescript (take care because some problems are regarding incompatibility of version). However, after some work you still with some issues then make some search or put an specific error to the community.