Skip to content

Commit

Permalink
prettier and eslint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jun 7, 2024
1 parent cbf8dec commit 3119b56
Show file tree
Hide file tree
Showing 9 changed files with 271 additions and 278 deletions.
14 changes: 7 additions & 7 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { defineNuxtModule, createResolver, addImportsDir, addServerImportsDir } from '@nuxt/kit'
import { defineNuxtModule, createResolver, addImportsDir, addServerImportsDir } from "@nuxt/kit";

// Module options TypeScript interface definition
export interface ModuleOptions {}

export default defineNuxtModule<ModuleOptions>({
meta: {
name: 'nuxt-precognition',
configKey: 'nuxtPrecognition',
name: "nuxt-precognition",
configKey: "nuxtPrecognition",
},
// Default configuration options of the Nuxt module
defaults: {},
setup(_options, _nuxt) {
const resolver = createResolver(import.meta.url)
const resolver = createResolver(import.meta.url);

addImportsDir(resolver.resolve('./runtime/composables'))
addServerImportsDir(resolver.resolve('./runtime/server/utils'))
addImportsDir(resolver.resolve("./runtime/composables"));
addServerImportsDir(resolver.resolve("./runtime/server/utils"));
},
})
});
Loading

0 comments on commit 3119b56

Please sign in to comment.