1. According to ASP.NET Core Documentation, rendered partial view using TagHelper instead of Razor syntax
2. Referenced newly installed jquery library from libman in the _Layout.cshtml file of WebMVC project
This commit is contained in:
parent
8956990b6a
commit
93a79c1e4f
@ -44,11 +44,12 @@
|
|||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@await Html.PartialAsync("_LoginPartial")
|
<partial name="_LoginPartial" />
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
|
|
||||||
|
|
||||||
@ -69,7 +70,7 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<environment names="Development">
|
<environment names="Development">
|
||||||
<script src="~/lib/jquery/dist/jquery.js"></script>
|
<script src="~/lib/jquery/jquery.js"></script>
|
||||||
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
|
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
|
||||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user