Replies: 2 comments 1 reply
-
I added |
Beta Was this translation helpful? Give feedback.
-
For modules, you need to add a reference to |
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
-
For modules, you need to add a reference to |
Beta Was this translation helpful? Give feedback.
-
hi.
I use Orchardcore without cms "OrchardCore.Application.Mvc.Targets" to my projects and add my module to it.
I know to add
builder.Services.AddOrchardCore().ConfigureServices(s => { s.AddResourceManagement(); s.AddTagHelpers<LinkTagHelper>(); s.AddTagHelpers<MetaTagHelper>(); s.AddTagHelpers<ResourcesTagHelper>(); s.AddTagHelpers<ScriptTagHelper>(); s.AddTagHelpers<StyleTagHelper>(); });
in my program and then implement
ResourceManifest.cs
for my module too.after that in
_ViewImports.cshtml
add@addTagHelper *, OrchardCore.DisplayManagement @addTagHelper *, OrchardCore.ResourceManagement
and in
_ViewStart.cshtml
use tag helpers like this:all scripts were added successfully into my module but nothing for styles????
what should I do to import my module styles to tag helper?
Beta Was this translation helpful? Give feedback.
All reactions