mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +01:00
docs(installation): add app section
This commit is contained in:
@@ -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
|
### Use our Nuxt Starter
|
||||||
|
|||||||
@@ -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
|
## Options
|
||||||
|
|||||||
Reference in New Issue
Block a user