hid_msrpuwgj56ccf29 1 rok temu
rodzic
commit
9a5d15e989

Plik diff jest za duży
+ 10 - 0
app-angular/src/app/app.component.html


+ 2 - 0
app-angular/src/modules/lesson/find/find.component.html

@@ -0,0 +1,2 @@
+<p>find works!</p>
+<h1>hihihi</h1>

+ 0 - 0
app-angular/src/modules/lesson/find/find.component.scss


+ 21 - 0
app-angular/src/modules/lesson/find/find.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { FindComponent } from './find.component';
+
+describe('FindComponent', () => {
+  let component: FindComponent;
+  let fixture: ComponentFixture<FindComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [FindComponent]
+    });
+    fixture = TestBed.createComponent(FindComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
app-angular/src/modules/lesson/find/find.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-find',
+  templateUrl: './find.component.html',
+  styleUrls: ['./find.component.scss']
+})
+export class FindComponent {
+
+}

+ 10 - 1
app-angular/src/modules/lesson/lesson-routing.module.ts

@@ -5,7 +5,8 @@ import { HomeComponent } from './home/home.component';
 import { PageMineComponent } from './page-mine/page-mine.component';
 import { PageStudentComponent } from './page-student/page-student.component';
 import { PageStudentDetailComponent } from './page-student-detail/page-student-detail.component';
-
+import { ShopComponent } from './shop/shop.component';
+import { FindComponent } from './find/find.component';
 const routes: Routes = [
   {
     path:"home",component:HomeComponent
@@ -22,6 +23,14 @@ const routes: Routes = [
   {
     path:"student/detail",component:PageStudentDetailComponent
   }
+  ,
+  {
+    path:"shop",component:ShopComponent
+  }
+  ,
+  {
+    path:"find",component:FindComponent
+  }
 ];
 
 @NgModule({

+ 5 - 1
app-angular/src/modules/lesson/lesson.module.ts

@@ -11,6 +11,8 @@ import { CompNavButtonComponent } from './comp-nav-button/comp-nav-button.compon
 import { PageStudentComponent } from './page-student/page-student.component';
 import { PageStudentDetailComponent } from './page-student-detail/page-student-detail.component';
 import { TokPipe } from './tok.pipe';
+import { ShopComponent } from './shop/shop.component';
+import { FindComponent } from './find/find.component';
 
 
 @NgModule({
@@ -22,7 +24,9 @@ import { TokPipe } from './tok.pipe';
     CompNavButtonComponent,
     PageStudentComponent,
     PageStudentDetailComponent,
-    TokPipe
+    TokPipe,
+    ShopComponent,
+    FindComponent
   ],
   imports: [
     CommonModule,

+ 2 - 0
app-angular/src/modules/lesson/shop/shop.component.html

@@ -0,0 +1,2 @@
+<p>shop works!</p>
+<h1>hello</h1>

+ 0 - 0
app-angular/src/modules/lesson/shop/shop.component.scss


+ 21 - 0
app-angular/src/modules/lesson/shop/shop.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { ShopComponent } from './shop.component';
+
+describe('ShopComponent', () => {
+  let component: ShopComponent;
+  let fixture: ComponentFixture<ShopComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [ShopComponent]
+    });
+    fixture = TestBed.createComponent(ShopComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
app-angular/src/modules/lesson/shop/shop.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-shop',
+  templateUrl: './shop.component.html',
+  styleUrls: ['./shop.component.scss']
+})
+export class ShopComponent {
+
+}

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików