Socket
Book a DemoInstallSign in
Socket

vvdoc

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vvdoc

1. 开箱即用,快速生成文档站点 2. 基于vite 启动速度快,编写体验极佳 3. 支持文档搜索 4. 自动生成文章目录 5. 自定义主题

latest
npmnpm
Version
2.6.1
Version published
Maintainers
1
Created
Source

vvdoc version

基于 Vite 快速生成文档站点

特性

  • 开箱即用,快速生成文档站点
  • 基于vite 启动速度快,编写体验极佳
  • 支持文档搜索
  • 自动生成文章目录
  • 自定义主题

开始使用

yarn create vvdoc
yarn
yarn dev

使用本文档生成的站点

名称地址
vvModalhttps://vvmodal.vercel.app/

vvdoc.config.ts

https://github.com/zwmmm/create-vvdoc/blob/main/template/vvdoc.config.ts

自定义入口

当你需要自定义入口,比如全局修改Antd的配置 根目录新增一个 index.tsx

import { ConfigProvider } from 'antd'
import zhCN from 'antd/lib/locale/zh_CN'

export default function (props: any) {
  return (
    <ConfigProvider locale={zhCN} componentSize="small">
      {props.children}
    </ConfigProvider>
  )
}

内置组件

  • Message,
  • Alert,
  • Playground

FAQs

Package last updated on 19 Jun 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