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