New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ruabick/vite-plugin-gen-api-doc

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ruabick/vite-plugin-gen-api-doc

> 基于`vue-docgen-api`项目, 参考了很多[arco-design-vue](https://github.com/arco-design/arco-design-vue/tree/main/packages/arco-vue-scripts)的代码。

latest
npmnpm
Version
0.3.3
Version published
Weekly downloads
8
-68%
Maintainers
1
Weekly downloads
 
Created
Source

@ruabick/vite-plugin-gen-api-doc

基于vue-docgen-api项目, 参考了很多arco-design-vue的代码。

开始使用

步骤 1

安装插件 pnpm add @ruabick/vite-plugin-gen-api-doc -D

步骤 2

.vitepress/config.js

import { genApiDoc } from '@ruabick/vite-plugin-gen-api-doc';

export default defineConfig({
  // ...
  vite: {
    plugins: [genApiDoc()],
  },
});

示例

注释用参考vue-docgen-api

FAQs

Package last updated on 20 Apr 2023

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