I added _ViewImports.cshtml file under Views folder in an MVC application. After adding the below line, styles on my page stopped working.

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

When I look at the elements on the page in chrome browser, I don't see anything under styles section.

Styles before adding Taghelper

Styles after adding TagHelper

Related posts

Recent Viewed