ng generate component vorgang
authorKai Moritz <kai@juplo.de>
Fri, 26 Jun 2020 11:30:49 +0000 (13:30 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 26 Jun 2020 12:09:27 +0000 (14:09 +0200)
src/app/app.module.ts
src/app/vorgang/vorgang.component.css [new file with mode: 0644]
src/app/vorgang/vorgang.component.html [new file with mode: 0644]
src/app/vorgang/vorgang.component.spec.ts [new file with mode: 0644]
src/app/vorgang/vorgang.component.ts [new file with mode: 0644]

index f657163..a8cb5c1 100644 (file)
@@ -2,10 +2,12 @@ import { BrowserModule } from '@angular/platform-browser';
 import { NgModule } from '@angular/core';
 
 import { AppComponent } from './app.component';
+import { VorgangComponent } from './vorgang/vorgang.component';
 
 @NgModule({
   declarations: [
-    AppComponent
+    AppComponent,
+    VorgangComponent
   ],
   imports: [
     BrowserModule
diff --git a/src/app/vorgang/vorgang.component.css b/src/app/vorgang/vorgang.component.css
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/app/vorgang/vorgang.component.html b/src/app/vorgang/vorgang.component.html
new file mode 100644 (file)
index 0000000..d5c622f
--- /dev/null
@@ -0,0 +1 @@
+<p>vorgang works!</p>
diff --git a/src/app/vorgang/vorgang.component.spec.ts b/src/app/vorgang/vorgang.component.spec.ts
new file mode 100644 (file)
index 0000000..5623c20
--- /dev/null
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { VorgangComponent } from './vorgang.component';
+
+describe('VorgangComponent', () => {
+  let component: VorgangComponent;
+  let fixture: ComponentFixture<VorgangComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ VorgangComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(VorgangComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});
diff --git a/src/app/vorgang/vorgang.component.ts b/src/app/vorgang/vorgang.component.ts
new file mode 100644 (file)
index 0000000..4c8233d
--- /dev/null
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-vorgang',
+  templateUrl: './vorgang.component.html',
+  styleUrls: ['./vorgang.component.css']
+})
+export class VorgangComponent implements OnInit {
+
+  constructor() { }
+
+  ngOnInit(): void {
+  }
+
+}