mirror of
https://github.com/fmhy/edit.git
synced 2026-02-05 02:31:07 +11:00
feat: experimental search
This commit is contained in:
parent
76c776c2eb
commit
1b8cf1f295
3 changed files with 952 additions and 11 deletions
|
|
@ -12,6 +12,7 @@ import {
|
|||
import { generateImages, generateMeta, generateFeed } from './hooks'
|
||||
import { toggleStarredPlugin } from './markdown/toggleStarred'
|
||||
import { movePlugin, emojiRender, defs } from './markdown/emoji'
|
||||
import { OramaPlugin } from '@orama/plugin-vitepress'
|
||||
|
||||
// @unocss-include
|
||||
|
||||
|
|
@ -55,6 +56,14 @@ export default defineConfig({
|
|||
UnoCSS({
|
||||
configFile: '../unocss.config.ts'
|
||||
}),
|
||||
// @ts-expect-error broken fucking type defs
|
||||
OramaPlugin({
|
||||
analytics: {
|
||||
enabled: true,
|
||||
apiKey: 'nZiDdThSSSQK6tEhakUBp7o3JlXjY13R',
|
||||
indexId: 'xs3kwrwwxr1re7ey43c9g58i'
|
||||
}
|
||||
}),
|
||||
{
|
||||
name: 'custom:adjust-order',
|
||||
configResolved(c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue