Skip to content

Commit dc0f11d

Browse files
committed
fix: enable devtools by default if not disabled
1 parent 98a94c4 commit dc0f11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default defineNuxtModule<ModuleOptions>({
139139
}
140140

141141
const isDevToolsEnabled = typeof nuxt.options.devtools === 'boolean' ? nuxt.options.devtools : nuxt.options.devtools.enabled
142-
if (nuxt.options.dev && isDevToolsEnabled) {
142+
if (nuxt.options.dev && isDevToolsEnabled !== false) {
143143
addPlugin({
144144
src: resolve('./runtime/app/plugins/ui.client'),
145145
mode: 'client',

0 commit comments

Comments
 (0)