Add the option to generate the CoreUI template as a set of basic Razor views for ASP.NET Core MVC#379
Closed
mvelosop wants to merge 56 commits intocoreui:masterfrom
Closed
Add the option to generate the CoreUI template as a set of basic Razor views for ASP.NET Core MVC#379mvelosop wants to merge 56 commits intocoreui:masterfrom
mvelosop wants to merge 56 commits intocoreui:masterfrom
Conversation
# Conflicts: # .gitignore # test-fs/source/src/original-html-document.html # test-fs/source/src/test-document.html # test/fs-source/src/original-html-document.html
# Conflicts: # package-lock.json # package.json
|
Heya, any updates? |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As commented on issue #367, this PR adds the option to build the CoreUI template as a set of basic Razor views for ASP.NET Core MVC, while keeping the files from node_modules under "lib" with the same folder structure as node_modules.
This feature is executed with the new script "build-aspnetcore" in packages.json.
Running the build-aspnetcore script creates two sets on files in the dist folder:
This set of files should just work, to verify the conversion worked properly.
@{ Layout = ""; }to bypass the standard layout~/to all references to static files@for@@under certain conditions (check aspnetcore-lib.js)href="{page}.html"forasp-route="CoreUI" asp-route-view="{page}"so they work with the following controller:Only three files where modified:
These are the new files: