aspnetcore-angular-universal icon indicating copy to clipboard operation
aspnetcore-angular-universal copied to clipboard

Separate mainBrowser in parts.

Open borgotecnologia opened this issue 9 years ago • 1 comments

I tried to separate mainBrowser.js in many files to have a better perform, however, How could access MVC/Views/index.cshtml to dynamize this line in chunks:

For exemple:

borgotecnologia avatar Jul 25 '17 20:07 borgotecnologia

You can use a tag helper with a wildcard, it will include all the files that match.

<script asp-src-include="~/dist/main-browser*.js" asp-append-version="true"></script>

markoj21 avatar Jul 28 '17 02:07 markoj21