OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.43k stars 2.4k forks source link

Support for Razor Component ( *.razor files) #10442

Open ns8482e opened 3 years ago

ns8482e commented 3 years ago

Is your feature request related to a problem? Please describe.

Support Razor component (*.razor ) files in module and to allow rendering using component tag helper in views and liquid

Describe the solution you'd like

Update tag helper bridge to support component tag helper for type property

Describe alternatives you've considered

Currently to compile razor files in module, requires to explicitly exclude *.razor from embedded resource and from none and include in content, in project file.

content tag helper is currently not supported in liquid due to type argument

Related #9993

kevinsmgov commented 2 years ago

@ns8482e Is there any example code using Razor components (specifically, I'd like to drop a front-end webassembly component into an orchard view)