Enable single pages directory (#8799)

* Enable single pages directory
* Rename Index.cshtml to Host.cshtml
* Get rid of _ViewImports.cshtml
This commit is contained in:
Javier Calvarro Nelson 2019-03-27 11:51:01 +01:00 committed by GitHub
parent 1f63f25508
commit 562d119ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,7 @@
@page "{*clientPath}"
@page "/{*clientPath}"
@namespace RazorComponentsWeb_CSharp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html>
<head>

View File

@ -1,3 +0,0 @@
@using RazorComponentsWeb_CSharp.Components
@namespace RazorComponentsWeb_CSharp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

View File

@ -10,7 +10,6 @@ using Microsoft.AspNetCore.HttpsPolicy;
#endif
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using RazorComponentsWeb_CSharp.Components;
using RazorComponentsWeb_CSharp.Services;
namespace RazorComponentsWeb_CSharp

View File

@ -3,4 +3,4 @@
@using Microsoft.AspNetCore.Components.Layouts
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.JSInterop
@using RazorComponentsWeb_CSharp.Components.Shared
@using RazorComponentsWeb_CSharp.Shared