
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
kpp-admin-panel
Advanced tools
پنل مدیریت خبره (Kpp Admin Panel)این پنل مدیریت پیادهسازی شده است با Angular CLI ورژن 15.1.0
۱. مثل حالت عادی و با استفاده از دستور زیر یک پروژهی جدید انگولاری را ایجاد کنید و سپس به داخل پوشه پروژه بروید.
دقت کنید هنگام نصب پروژه جدید انگولار حتما بایستی به سوالی که در خصوص استفاده
routingدر انگولار پاسخ مثبت داده شود.
ng new my-project
cd my-project
۲. با استفاده از دستور زیر کتابخانه پنل مدیریت را نصب کنید.
npm i kpp-admin-panel
۳. بعد از نصب کامل کتابخانه فایل app.routing.ts را باز کرده و مقدار متغیر routes به شکل زیر تغییر دهید.
const routes: Routes = [
{
title: "home",
path: "",
component: FullLayoutComponent,
children: [
]
}
];
توجه: مابقی routingها بایستی در قسمت children قرار داده شوند.
۴. فایل index.html موجود در پوشه اصلی پروژه را باز کرده و داخل متاتگ html صفت lang را به زبان پیشفرض سایت که
غالبا fa میباشد تغییر دهید.
<html lang="fa">
۵. فایل app.module.ts را باز کرده و ماژول KppAdminPanelModule را هم در قسمت imports و هم در قسمت exports قرار
دهید.
۶. فایل app.component.html را باز کرده و تمام محتوای آن را حذف و تگ lib-kpp-admin-panel را داخل آن قرار دهید.
<lib-kpp-admin-panel></lib-kpp-admin-panel>
۷. فایل angular.json موجود در ریشه پروژه را باز کرده و در قسمت assets مقادیر زیر را اضافه کنید.
"assets": [
...,
{
"glob": "**/*",
"input": "node_modules/kpp-admin-panel/assets/",
"output": "/assets/"
},
...
],
۸. با زدن دستور ng serve از پنل ادمین استفاده کنید. :shipit:
ng serve
FAQs
Unknown package
We found that kpp-admin-panel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.