🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@zbanx/cms-shared

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zbanx/cms-shared

## 一、安装依赖

latest
npmnpm
Version
0.0.1-alpha.0
Version published
Weekly downloads
1
-90%
Maintainers
5
Weekly downloads
 
Created
Source

快速开始

一、安装依赖

# 本项目依赖了 @zbanx/components 需确保此模块已安装
yarn add @zbanx/components

# 安装 @zbanx/cms-shared
yarn add @zbanx/cms-shared

二、注册请求方法

为了保证共享组件和项目使用同一个请求方法,请在 src/app.tsx 中注册请求方法,代码如下:

import { request } from 'umi';
import { registerRequestMethod } from '@zbanx/cms-shared';

registerRequestMethod(request);

FAQs

Package last updated on 11 May 2022

Did you know?

Socket

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.

Install

Related posts