File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed
Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1313 < h1 > Signal R JavaScript Client</ h1 >
1414 <!-- <hello-component data-name="James"></hello-component> -->
1515 < div class ="container ">
16- < basic- src-view > </ basic- src-view >
16+ < src-app > </ src-app >
1717 </ div >
1818
1919 < script src ="./main.js "> </ script >
Original file line number Diff line number Diff line change 1- class HeaderComponent extends HTMLElement {
1+ class AppComponent extends HTMLElement {
22 constructor ( ) {
33 super ( ) ;
44 }
@@ -17,7 +17,7 @@ class HeaderComponent extends HTMLElement {
1717 }
1818
1919 render ( ) {
20- this . innerHTML = `
20+ this . innerHTML = `
2121
2222 <div id="tab-header" class="container">
2323 <div class="panel panel-primary">
@@ -40,14 +40,13 @@ class HeaderComponent extends HTMLElement {
4040 <h2>Advance</h2>
4141 <sr-form type="advance"></sr-form>
4242 </div>
43-
4443 </div>
4544 </div>
4645 </div>
4746 ` ;
4847 }
4948}
5049
51- if ( ! window . customElements . get ( "basic- src-view " ) ) {
52- window . customElements . define ( "basic- src-view " , HeaderComponent ) ;
50+ if ( ! window . customElements . get ( "src-app " ) ) {
51+ window . customElements . define ( "src-app " , AppComponent ) ;
5352}
Original file line number Diff line number Diff line change @@ -91,8 +91,6 @@ class SrFormComponent extends HTMLElement {
9191 </fieldset>
9292 </form>
9393 ` ;
94-
95-
9694 }
9795}
9896
Original file line number Diff line number Diff line change 11import 'bootstrap/dist/css/bootstrap.css'
22import 'bootstrap/dist/js/bootstrap.js'
33import '../css/main.css' ;
4- import './components/SrFormComponent ' ;
5- import './components/header .component' ;
4+ import './components/srform.component ' ;
5+ import './components/app .component' ;
66
77console . log ( "Hello Webpack111" ) ;
88
You can’t perform that action at this time.
0 commit comments