docs(installation): add app section

This commit is contained in:
Benjamin Canac
2024-12-06 16:53:35 +01:00
parent b7ba2c7759
commit d3b3b9bef3
2 changed files with 28 additions and 0 deletions

View File

@@ -81,6 +81,20 @@ It's recommended to install the [Tailwind CSS IntelliSense](https://marketplace.
::
#### Wrap your app with App component
```vue [app.vue]
<template>
<UApp>
<NuxtPage />
</UApp>
</template>
```
::note{to="/components/app"}
The `App` component provides global configurations and is required for **Toast** and **Tooltip** components to work.
::
::
### Use our Nuxt Starter

View File

@@ -123,6 +123,20 @@ It's recommended to install the [Tailwind CSS IntelliSense](https://marketplace.
::
#### Wrap your app with App component
```vue [App.vue]
<template>
<UApp>
<RouterView />
</UApp>
</template>
```
::note{to="/components/app"}
The `App` component provides global configurations and is required for **Toast** and **Tooltip** components to work.
::
::
## Options