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:
parent
1f63f25508
commit
562d119ca4
|
|
@ -1,4 +1,7 @@
|
||||||
@page "{*clientPath}"
|
@page "/{*clientPath}"
|
||||||
|
@namespace RazorComponentsWeb_CSharp.Pages
|
||||||
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
@using RazorComponentsWeb_CSharp.Components
|
|
||||||
@namespace RazorComponentsWeb_CSharp.Pages
|
|
||||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
|
||||||
|
|
@ -10,7 +10,6 @@ using Microsoft.AspNetCore.HttpsPolicy;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using RazorComponentsWeb_CSharp.Components;
|
|
||||||
using RazorComponentsWeb_CSharp.Services;
|
using RazorComponentsWeb_CSharp.Services;
|
||||||
|
|
||||||
namespace RazorComponentsWeb_CSharp
|
namespace RazorComponentsWeb_CSharp
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
@using Microsoft.AspNetCore.Components.Layouts
|
@using Microsoft.AspNetCore.Components.Layouts
|
||||||
@using Microsoft.AspNetCore.Components.Routing
|
@using Microsoft.AspNetCore.Components.Routing
|
||||||
@using Microsoft.JSInterop
|
@using Microsoft.JSInterop
|
||||||
@using RazorComponentsWeb_CSharp.Components.Shared
|
@using RazorComponentsWeb_CSharp.Shared
|
||||||
Loading…
Reference in New Issue