-76%
Version :
Latest Version
Rs1,826.00 Original price was: Rs1,826.00.Rs430.00Current price is: Rs430.00.
npm install -g @angular/cli
ng new espire-admin --routing
cd espire-admin
npm install bootstrap
angular.json
and add the following line to the styles
array:
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
ng generate component dashboard
ng generate component users
ng generate component settings
ng generate component login
src/app/app-routing.module.ts
and set up the routes:
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component';
import { UsersComponent } from './users/users.component';
import { SettingsComponent } from './settings/settings.component';
import { LoginComponent } from './login/login.component';
const routes: Routes = [
{ path: '', component: DashboardComponent },
{ path: 'users', component: UsersComponent },
{ path: 'settings', component: SettingsComponent },
{ path: 'login', component: LoginComponent },
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
src/app/app.component.html
, you can create a simple layout for the admin panel:
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper">
<div class="sidebar-heading">Espire Admin</div>
<div class="list-group list-group-flush">
<a href="/" class="list-group-item list-group-item-action bg-light">Dashboard</a>
<a routerLink="/users" class="list-group-item list-group-item-action bg-light">Users</a>
<a routerLink="/settings" class="list-group-item list-group-item-action bg-light">Settings</a>
<a routerLink="/login" class="list-group-item list-group-item-action bg-light">Logout</a>
</div>
</div>
<!-- Page Content -->
<div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
<button class="btn btn-primary" id="menu-toggle">Toggle Menu</button>
</nav>
<div class="container-fluid">
<router-outlet></router-outlet>
</div>
</div>
</div>
src/styles.css
or create a dedicated CSS file for your admin template. For example:
#wrapper {
display: flex;
}
#sidebar-wrapper {
min-height: 100vh;
}
#page-content-wrapper {
width: 100%;
}
src/app/dashboard/dashboard.component.html
, create a simple dashboard layout:
<h1>Dashboard</h1>
<p>Welcome to the Espire Admin Dashboard!</p>
ng serve
http://localhost:4200
in your web browser.
1. All digital products are the most recent version, with no possibility of free updates. After payment, you can request an update to the most recent version for 5 days if a new version is released. We free support within 5 days.
2. If a license is required (Excludes WHMCS license , we provide only method not license), please contact us via email or ticket for assistance with activation. Our license is only valid for activation and does not include support.
3. We provide Mobile, PHP script installation services for $19.90 / ₹1700. Please create a backup after installation as we do not support re-installation. For mobile app source code, we do not offer installation services.
4. If you have any questions, please contact us by email [email protected] or create a ticket on this page
5. Please note that any digital products presented on the website do not contain malicious code, viruses or advertising. You will receive the original files from the developers. We do not sell any products that have been downloaded from other websites.
6. The response time can last up to 6 hours.
No account yet?
Create an Account