Skip to content

Commit

Permalink
fix: try directly importing app module
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 24, 2024
1 parent 1739122 commit 6b87c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/integrations/docsearch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { withoutTrailingSlash } from 'ufo'
import type { DocSearchOptions } from '@nuxtjs/algolia/dist/module.d'
import type { DocSearchOptions } from '@nuxtjs/algolia'

export default defineNuxtPlugin(() => {
const config = useRuntimeConfig()
Expand Down
3 changes: 2 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createResolver, logger, defineNuxtModule } from '@nuxt/kit'
import { $fetch } from 'ofetch'
import { version } from './package.json'
import appModule from './app/module'

const { resolve } = createResolver(import.meta.url)

Expand Down Expand Up @@ -52,7 +53,7 @@ export default defineNuxtConfig({
'@nuxtjs/color-mode',
'@nuxt/content',
'@vueuse/nuxt',
resolve('./app/module'),
appModule,
updateModule as any
],
css: [
Expand Down

0 comments on commit 6b87c7b

Please sign in to comment.