-
-
Notifications
You must be signed in to change notification settings - Fork 380
Expand file tree
/
Copy pathApp.razor
More file actions
38 lines (31 loc) · 767 Bytes
/
App.razor
File metadata and controls
38 lines (31 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<MatThemeProvider Theme="@theme">
<MatToastContainer />
<Router AppAssembly=typeof(MatBlazor.Demo.Pages.Index).Assembly>
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(MatBlazor.Demo.Shared.MainLayout)" />
</Found>
<NotFound>
<h1>Page not found</h1>
<p>Sorry, but there's nothing here!</p>
</NotFound>
</Router>
</MatThemeProvider>
@code
{
MatTheme theme = new MatTheme()
{
Primary = "#5d2f91",
Background = "#fafafa",
Surface = "#ffffff"
};
private string _test1;
[Parameter]
public string Test1
{
get => _test1;
set
{
_test1 = value;
}
}
}