mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 06:21:46 +01:00
fix(module): add isolate class on root node
This commit is contained in:
@@ -52,6 +52,10 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
icons
|
||||
})
|
||||
|
||||
// Isolate root node from portaled components
|
||||
nuxt.options.app.rootAttrs = nuxt.options.app.rootAttrs || {}
|
||||
nuxt.options.app.rootAttrs.class = 'isolate'
|
||||
|
||||
addVitePlugin(tailwindcss)
|
||||
|
||||
await installModule('nuxt-icon', {
|
||||
|
||||
Reference in New Issue
Block a user