diff options
| author | 2023-04-19 17:50:02 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:50:02 +0800 | |
| commit | 56a6240bf700ac307342ed494d8bfbabe5c822dc (patch) | |
| tree | 0b1288a2ec1cbb538c11f4c122b6a97b9c55a05f /docs/app/module.ts | |
| parent | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (diff) | |
| download | HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.tar.gz HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.zip | |
✨docs init
Diffstat (limited to 'docs/app/module.ts')
| -rw-r--r-- | docs/app/module.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/docs/app/module.ts b/docs/app/module.ts deleted file mode 100644 index 4e425a6..0000000 --- a/docs/app/module.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { fileURLToPath } from 'url' -import { addPlugin, defineNuxtModule } from '@nuxt/kit' -import { resolve } from 'pathe' - -const themeDir = fileURLToPath(new URL('./', import.meta.url)) -const resolveThemeDir = (path: string) => resolve(themeDir, path) - -export default defineNuxtModule({ - meta: { - name: 'docus', - version: '3.0.0', - compatibility: { - nuxt: '^3.0.0-rc.14', - bridge: false - }, - configKey: 'docus' - }, - setup (_, nuxt) { - if (nuxt.options?.runtimeConfig?.public?.algolia?.docSearch) { - addPlugin({ - src: resolveThemeDir('integrations/docsearch.ts') - }) - } - } -}) |
