Moved @addtaghelper to ViewStart.
- Updated project.json to have a valid webroot. Webroot isn't pointing to the specific folder because the TagHelperSample has no valid content for the webroot yet.
This commit is contained in:
parent
c8813fe81d
commit
70e695b665
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
@using TagHelperSample.Web.Models
|
||||
@model User
|
||||
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
|
||||
|
||||
<h2>Create</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
@using TagHelperSample.Web.Models
|
||||
@model User
|
||||
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
|
||||
|
||||
<h2>Edit</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
@using TagHelperSample.Web.Models
|
||||
@model IEnumerable<User>
|
||||
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
|
||||
|
||||
<h2>Index</h2>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"webroot": ".",
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue