feat(@vben/docs): preview components are supported within documents (#4250)

This commit is contained in:
Vben
2024-08-27 23:22:34 +08:00
committed by GitHub
parent d47d051b19
commit cbf601581d
23 changed files with 558 additions and 38 deletions

View File

@@ -2,12 +2,12 @@ import { withPwa } from '@vite-pwa/vitepress';
import { defineConfigWithTheme } from 'vitepress';
import { en } from './en.mts';
import { shard } from './shard.mts';
import { shared } from './shared.mts';
import { zh } from './zh.mts';
export default withPwa(
defineConfigWithTheme({
...shard,
...shared,
locales: {
en: {
label: 'English',