view-components Questions
1
Solved
ASP .NET 7 MVC core application uses view commponents in Razor Views like in _Layout.chtml
<vc:producttree roott="ProductTreeRoot">
</vc:producttree>
After upgrading Visual S...
Undistinguished asked 22/2, 2023 at 22:45
2
Solved
I'm using the ViewComponent gem with Tailwind CSS. I render components from my view files with <%= render ExampleComponent.new(resource: @resource) %>. In my app/components directory, I have ...
Meredi asked 26/4, 2022 at 17:42
1
Solved
It seems that in ASP.NET Core MVC, if I want to use a View Component, I have to put them in Views\Shared\Components\[ViewComponentName], and then name the file "Default.cshtml".
This is r...
Amritsar asked 11/3, 2019 at 22:44
1
Solved
I have searched many places and have not seen anything similar to what I am thinking.
Let's say I want to create a reusable container component, like a card, form, or a modal, and save that as a Vi...
Hubing asked 15/3, 2019 at 22:17
1
© 2022 - 2024 — McMap. All rights reserved.