From fb0d905624f5ccd2227cbf7fe7dfa7b54fd13d7d Mon Sep 17 00:00:00 2001 From: twgwuy Date: Mon, 11 Dec 2023 23:15:03 +0700 Subject: [PATCH] Add demo --- .../hihi-version1/hihi/hihi.component.html | 3 +++ .../hihi-version1/hihi/hihi.component.less | 0 .../hihi-version1/hihi/hihi.component.spec.ts | 25 +++++++++++++++++++ src/app/hihi-version1/hihi/hihi.component.ts | 15 +++++++++++ 4 files changed, 43 insertions(+) create mode 100644 src/app/hihi-version1/hihi/hihi.component.html create mode 100644 src/app/hihi-version1/hihi/hihi.component.less create mode 100644 src/app/hihi-version1/hihi/hihi.component.spec.ts create mode 100644 src/app/hihi-version1/hihi/hihi.component.ts diff --git a/src/app/hihi-version1/hihi/hihi.component.html b/src/app/hihi-version1/hihi/hihi.component.html new file mode 100644 index 0000000..d4b5335 --- /dev/null +++ b/src/app/hihi-version1/hihi/hihi.component.html @@ -0,0 +1,3 @@ +

+ hihi works! +

diff --git a/src/app/hihi-version1/hihi/hihi.component.less b/src/app/hihi-version1/hihi/hihi.component.less new file mode 100644 index 0000000..e69de29 diff --git a/src/app/hihi-version1/hihi/hihi.component.spec.ts b/src/app/hihi-version1/hihi/hihi.component.spec.ts new file mode 100644 index 0000000..9eaaba7 --- /dev/null +++ b/src/app/hihi-version1/hihi/hihi.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HihiComponent } from './hihi.component'; + +describe('HihiComponent', () => { + let component: HihiComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ HihiComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(HihiComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/hihi-version1/hihi/hihi.component.ts b/src/app/hihi-version1/hihi/hihi.component.ts new file mode 100644 index 0000000..b703969 --- /dev/null +++ b/src/app/hihi-version1/hihi/hihi.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-hihi', + templateUrl: './hihi.component.html', + styleUrls: ['./hihi.component.less'] +}) +export class HihiComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}