Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue-hooks-plus/vite-plugin-gen-temp

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-hooks-plus/vite-plugin-gen-temp

像 dumi 一样使用 `VitePress`,此插件包含一个`initial-scan`脚本和一个vite插件,需要配合使用。

  • 2.3.0
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

像 dumi 一样使用 VitePress,此插件包含一个initial-scan脚本和一个vite插件,需要配合使用。

参考示例

示例项目 https://github.com/dewfall123/ruabick/tree/master/packages/doc-site

示例站点 https://dewfall123.github.io/ruabick/guide/

使用步骤

步骤 1

pnpm add @ruabick/vite-plugin-gen-temp -D

步骤 2

修改 package.json 脚本。

::: warning 注意vitepress dev .docs.docs而不是docs,因为.docs是脚本处理后的目录。 :::

{
  "dev": "initial-scan && vitepress dev .docs"
}

步骤 3

增加插件配置

// .vitepress/config.js
import { genTemp } from '@ruabick/vite-plugin-gen-temp';

export default defineConfig({
  ...
  vite: {
    plugins: [genTemp()],
  }
  ...
})

FAQs

Package last updated on 29 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc