Skip to content

Commit

Permalink
chore: add debugging step
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 5, 2024
1 parent a5be892 commit 62fa1d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createResolver, logger, defineNuxtModule } from '@nuxt/kit'
import { useNuxt, createResolver, logger, defineNuxtModule } from '@nuxt/kit'
import { $fetch } from 'ofetch'
import { version } from './package.json'
import appModule from './app/module'
Expand Down Expand Up @@ -47,6 +47,12 @@ export default defineNuxtConfig({
envModules.typography,
envModules.elements
],
hooks: {
'modules:before'() {
const nuxt = useNuxt()
console.log(nuxt.options.modules)
}
},
modules: [
envModules.tokens,
envModules.studio,
Expand Down

0 comments on commit 62fa1d7

Please sign in to comment.