0.0.5 • Published 7 months ago

@doki-land/live2d-vitepress v0.0.5

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
7 months ago

Live2D for VitePress (Unofficial)

Netlify Status NPM Version

Usage

This package provides Live2D model integration for VitePress documentation sites. It allows you to easily add interactive Live2D characters to your VitePress project.

  • Installation
npm install @doki-land/live2d-vitepress

Usage

  1. Import the plugin in your VitePress config file:
import { live2dPlugin } from '@doki-land/live2d-vitepress'

export default {
  // ...
  plugins: [
    live2dPlugin({
      // Configuration options
    })
  ]
}
  1. Add the Live2D canvas element to your layout component:
<Live2DCanvas />

Configuration Options

  • modelPath: Path to your Live2D model files
  • scale: Initial scale of the model
  • position: Model position on screen
  • interactive: Enable/disable user interactions
0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago

0.0.0

7 months ago