home page
This commit is contained in:
+12
@@ -9,3 +9,15 @@ Your Ionic app is ready! Follow these next steps:
|
|||||||
- Building an enterprise app? Ionic has Enterprise Support and Features: https://ion.link/enterprise-edition
|
- Building an enterprise app? Ionic has Enterprise Support and Features: https://ion.link/enterprise-edition
|
||||||
|
|
||||||
Chiefsoft@DESKTOP-08L2E1S MINGW64 /c/WORKS/APPS
|
Chiefsoft@DESKTOP-08L2E1S MINGW64 /c/WORKS/APPS
|
||||||
|
|
||||||
|
npm install @capacitor/assets --save-dev
|
||||||
|
npx capacitor-assets generate
|
||||||
|
|
||||||
|
ionic capacitor build
|
||||||
|
|
||||||
|
ionic generate page myfit
|
||||||
|
|
||||||
|
ionic generate page blogdetail
|
||||||
|
ionic generate page marketdetail
|
||||||
|
ionic generate page activetask
|
||||||
|
ionic generate page mytask
|
||||||
|
|||||||
@@ -4,8 +4,17 @@ import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
|
loadChildren: () => import('./extpages/myfit/myfit.module').then(m => m.MyfitPageModule)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'dash',
|
||||||
loadChildren: () => import('./pages/tabs/tabs.module').then(m => m.TabsPageModule)
|
loadChildren: () => import('./pages/tabs/tabs.module').then(m => m.TabsPageModule)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'myfit',
|
||||||
|
loadChildren: () => import('./extpages/myfit/myfit.module').then(m => m.MyfitPageModule)
|
||||||
}
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { Routes, RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { MyfitPage } from './myfit.page';
|
||||||
|
|
||||||
|
const routes: Routes = [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
component: MyfitPage
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [RouterModule.forChild(routes)],
|
||||||
|
exports: [RouterModule],
|
||||||
|
})
|
||||||
|
export class MyfitPageRoutingModule {}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
|
||||||
|
import { MyfitPageRoutingModule } from './myfit-routing.module';
|
||||||
|
|
||||||
|
import { MyfitPage } from './myfit.page';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
IonicModule,
|
||||||
|
MyfitPageRoutingModule
|
||||||
|
],
|
||||||
|
declarations: [MyfitPage]
|
||||||
|
})
|
||||||
|
export class MyfitPageModule {}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<ion-content
|
||||||
|
style="--background-color: #0d0d0d;"
|
||||||
|
[fullscreen]="true">
|
||||||
|
<div
|
||||||
|
style="background-color: green;
|
||||||
|
width: 100%;
|
||||||
|
background-image: url(./assets/img/home-back.jpg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
height: 100%;">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
ion-content{
|
||||||
|
background-color: #2dd36f;
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import { MyfitPage } from './myfit.page';
|
||||||
|
|
||||||
|
describe('MyfitPage', () => {
|
||||||
|
let component: MyfitPage;
|
||||||
|
let fixture: ComponentFixture<MyfitPage>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
fixture = TestBed.createComponent(MyfitPage);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
}));
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-myfit',
|
||||||
|
templateUrl: './myfit.page.html',
|
||||||
|
styleUrls: ['./myfit.page.scss'],
|
||||||
|
})
|
||||||
|
export class MyfitPage implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Reference in New Issue
Block a user