升级:vitepress 1.0.0-alpha.64 => 1.0.0-alpha.66(官方本地搜索已上线)
This commit is contained in:
@@ -1,16 +1,9 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import Components from 'unplugin-vue-components/vite';
|
||||
import { ArcoResolver } from 'unplugin-vue-components/resolvers';
|
||||
// import { pagefindPlugin } from 'vitepress-plugin-pagefind';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
// pagefindPlugin({
|
||||
// btnPlaceholder: '搜索',
|
||||
// placeholder: '搜索文档',
|
||||
// emptyText: '空空如也',
|
||||
// heading: '共 {{searchResult}} 条结果'
|
||||
// }),
|
||||
Components({
|
||||
dirs: ['.vitepress/theme/components'],
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||
|
Reference in New Issue
Block a user