
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
kpp-admin-panel
Advanced tools
این پنل مدیریت پیادهسازی شده است با 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
The npm package kpp-admin-panel receives a total of 0 weekly downloads. As such, kpp-admin-panel popularity was classified as not popular.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.