File tree 5 files changed +16
-4
lines changed
5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 19
19
"tsConfig" : " tsconfig.app.json" ,
20
20
"assets" : [
21
21
" src/favicon.ico" ,
22
- " src/assets"
22
+ " src/assets" ,
23
+ {
24
+ "glob" : " **/*" ,
25
+ "input" : " ../Blazor/bin/Debug/net7.0/publish/wwwroot" ,
26
+ "output" : " ." ,
27
+ "ignore" : [" index.html" ]
28
+ }
23
29
],
24
30
"styles" : [
25
31
" src/styles.css"
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ const routes: Routes = [
14
14
15
15
@NgModule ( {
16
16
imports : [ RouterModule . forRoot ( routes ) ] ,
17
- exports : [ RouterModule ]
17
+ exports : [ RouterModule ] ,
18
18
} )
19
19
export class AppRoutingModule { }
Original file line number Diff line number Diff line change
1
+ < blazor-counter > </ blazor-counter >
2
+ <!--
1
3
<h1>{{title}}</h1>
2
4
<nav>
3
5
<a routerLink="/dashboard">Dashboard</a>
4
6
<a routerLink="/heroes">Heroes</a>
5
7
</nav>
6
8
<router-outlet></router-outlet>
7
9
<app-messages></app-messages>
10
+ -->
Original file line number Diff line number Diff line change 1
- import { NgModule } from '@angular/core' ;
1
+ import { NgModule , CUSTOM_ELEMENTS_SCHEMA } from '@angular/core' ;
2
2
import { BrowserModule } from '@angular/platform-browser' ;
3
3
import { FormsModule } from '@angular/forms' ;
4
4
import { HttpClientModule } from '@angular/common/http' ;
@@ -37,6 +37,7 @@ import { MessagesComponent } from './messages/messages.component';
37
37
MessagesComponent ,
38
38
HeroSearchComponent
39
39
] ,
40
- bootstrap : [ AppComponent ]
40
+ bootstrap : [ AppComponent ] ,
41
+ schemas : [ CUSTOM_ELEMENTS_SCHEMA ] ,
41
42
} )
42
43
export class AppModule { }
Original file line number Diff line number Diff line change 6
6
< base href ="/ ">
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
8
< link rel ="icon " type ="image/x-icon " href ="favicon.ico ">
9
+ < link rel ="stylesheet " href ="BlazorComponents.styles.css ">
10
+ < script src ="_framework/blazor.webassembly.js "> </ script >
9
11
</ head >
10
12
< body >
11
13
< app-root > </ app-root >
You can’t perform that action at this time.
0 commit comments