mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
feat(module)!: remove devtools in favor of compodium (#3380)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode'
|
||||
export const runtimeDir = normalize(fileURLToPath(new URL('./runtime', import.meta.url)))
|
||||
|
||||
export const NuxtUIPlugin = createUnplugin<NuxtUIOptions | undefined>((_options = {}, meta) => {
|
||||
const options = defu(_options, { fonts: false, devtools: { enabled: false } }, defaultOptions)
|
||||
const options = defu(_options, { fonts: false }, defaultOptions)
|
||||
|
||||
options.theme = options.theme || {}
|
||||
options.theme.colors = resolveColors(options.theme.colors)
|
||||
|
||||
Reference in New Issue
Block a user