🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gitbook-plugin-login

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-login

gitbook登陆插件

Source
npmnpm
Version
1.0.9
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

Code plugin for GitBook

gitbook登陆拦截插件

How can I use this plugin?

book.json中添加插件

"plugins" : [ "login" ],
"pluginsConfig": {
  "login": {
        "apiHost": "https://api-test.com", // 请求后台api的域
        "checkLoginApi": "/user", // 请求判断是否登陆的url
        "loginWebUrl": "https://www.test.com/login" // 登陆的页面路径
    }
}

github location

https://github.com/Hehew/gitbook-plugin-login

FAQs

Package last updated on 13 Jan 2020

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