0.3.0 • Published 1 year ago
rspress-plugin-live2d v0.3.0
rspress-plugin-live2d 
Rspress plugin for live2d, powered by on-my-live2d.
Usage
npm install rspress-plugin-live2d
pnpm install rspress-plugin-live2d
import * as path from 'path';
import { defineConfig } from 'rspress/config';
import live2d from 'rspress-plugin-live2d';
export default defineConfig({
root: path.join(__dirname, 'docs'),
title: 'Rspress x Live2d Example',
plugins: [
live2d({
models: [
{
path: 'https://model.oml2d.com/HK416-1-normal/model.json',
position: [0, 60],
scale: 0.08,
stageStyle: {
height: 450,
},
},
],
}),
],
});
Configure
Find more models and configuration on On My Live2D.
0.3.0
1 year ago
0.2.0
1 year ago
0.1.2-beta.0
1 year ago
0.1.1-beta.0
1 year ago
0.1.1
1 year ago
0.1.3
1 year ago
0.1.4-beta.0
1 year ago
0.1.3-beta.0
1 year ago
0.1.0
1 year ago