@bikariya/shiki

Bikariya shiki for Nuxt
3,906 2
Install
npm install @bikariya/shiki
Latest Version:0.0.8
Vue:3
License:MIT
Last Updated:Oct 20, 2026
Links: GitHub  ·  npm
Maintainer: kazariex

@bikariya/shiki

Shiki 集成,基于 Pinia。

安装

pnpm i -D @bikariya/shiki

使用方式

  1. 在 nuxt.config.ts 中添加模块:

    export default defineNuxtConfig({
      modules: [
        "@bikariya/shiki",
      ],
    });
    
  2. 在 app 目录下创建 shiki.config.ts:

    import { defineConfig } from "#shiki/config";
    
    export default defineConfig({
      themes: {
        light: () => import("shiki/themes/min-light.mjs"),
        dark: () => import("shiki/themes/min-dark.mjs"),
      },
    });
    
  3. 参照集成示例。

Related Packages

@bikariya/core

Bikariya for Nuxt

4,584 2
@bikariya/modals

Bikariya modals for Nuxt

4,245 2
@bikariya/image-viewer

Bikariya image viewer for Nuxt

4,152 2

Version History

Version Released Vue License
0.0.8 ^3.0 MIT
0.0.7 ^3.0 MIT
0.0.6 ^3.0 MIT
0.0.5 ^3.0 MIT
0.0.4 ^3.0 MIT