blog items
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
blog-items works!
|
||||
</p>
|
||||
@@ -0,0 +1,24 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BlogItemsComponent } from './blog-items.component';
|
||||
|
||||
describe('BlogItemsComponent', () => {
|
||||
let component: BlogItemsComponent;
|
||||
let fixture: ComponentFixture<BlogItemsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ BlogItemsComponent ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BlogItemsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-blog-items',
|
||||
templateUrl: './blog-items.component.html',
|
||||
styleUrls: ['./blog-items.component.scss'],
|
||||
})
|
||||
export class BlogItemsComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {}
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import { DashPageRoutingModule } from './dash-routing.module';
|
||||
|
||||
import { DashPage } from './dash.page';
|
||||
import {ChooseActivityComponent} from "../../components/choose-activity/choose-activity.component";
|
||||
import {BlogItemsComponent} from "../../components/blog-items/blog-items.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,6 +17,6 @@ import {ChooseActivityComponent} from "../../components/choose-activity/choose-a
|
||||
IonicModule,
|
||||
DashPageRoutingModule
|
||||
],
|
||||
declarations: [DashPage,ChooseActivityComponent]
|
||||
declarations: [DashPage,ChooseActivityComponent,BlogItemsComponent]
|
||||
})
|
||||
export class DashPageModule {}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<app-choose-activity></app-choose-activity>
|
||||
<app-blog-items></app-blog-items>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user