mirror of
https://github.com/fmhy/edit.git
synced 2026-01-17 17:31:18 +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) {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@
|
|||
"dependencies": {
|
||||
"@fmhy/colors": "^0.0.11",
|
||||
"@headlessui/vue": "^1.7.22",
|
||||
"@orama/orama": "^2.0.22",
|
||||
"@orama/plugin-vitepress": "^2.0.22",
|
||||
"@resvg/resvg-js": "^2.6.0",
|
||||
"consola": "^3.2.3",
|
||||
"feed": "^4.2.2",
|
||||
|
|
|
|||
952
pnpm-lock.yaml
generated
952
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue