File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
docs/content/1.getting-started/2.installation Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,28 @@ It's recommended to install the [Tailwind CSS IntelliSense](https://marketplace.
183
183
```
184
184
185
185
:: note { to =" /components/app " }
186
- The ` App ` component provides global configurations and is required for ** Toast** , ** Tooltip** components to work as well as ** Programmatic Overlays** .
186
+ The ` App ` component sets up global config and is required for ** Toast** , ** Tooltip** and ** programmatic overlays** .
187
+ ::
188
+
189
+ #### Add the ` isolate ` class to your root container
190
+
191
+ ``` html [index.html]{9}
192
+ <!DOCTYPE html>
193
+ <html lang =" en" >
194
+ <head >
195
+ <meta charset =" UTF-8" />
196
+ <meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
197
+ <title >Nuxt UI</title >
198
+ </head >
199
+ <body >
200
+ <div id =" app" class =" isolate" ></div >
201
+ <script type =" module" src =" /src/main.ts" ></script >
202
+ </body >
203
+ </html >
204
+ ```
205
+
206
+ :: note
207
+ This ensures styles are scoped to your app and prevents issues with overlays and stacking contexts.
187
208
::
188
209
189
210
::
You can’t perform that action at this time.
0 commit comments