Skip to content

Commit

Permalink
Enable single pages directory (dotnet#8799)
Browse files Browse the repository at this point in the history
* Enable single pages directory
* Rename Index.cshtml to Host.cshtml
* Get rid of _ViewImports.cshtml
  • Loading branch information
javiercn authored Mar 27, 2019
1 parent 1f63f25 commit 562d119
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@page "{*clientPath}"
@page "/{*clientPath}"
@namespace RazorComponentsWeb_CSharp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html>
<head>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#endif
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using RazorComponentsWeb_CSharp.Components;
using RazorComponentsWeb_CSharp.Services;

namespace RazorComponentsWeb_CSharp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 562d119

Please sign in to comment.