chore: migrate to https://ui.nuxt.com and @nuxt/ui (#616)

This commit is contained in:
Benjamin Canac
2023-09-07 14:26:12 +02:00
parent 9f9d8f5cec
commit 22f7536154
58 changed files with 112 additions and 113 deletions

View File

@@ -4,20 +4,20 @@ description: 'Learn how to install and configure the module in your Nuxt app.'
## Quick Start
1. Install `@nuxthq/ui` dependency to your project:
1. Install `@nuxt/ui` dependency to your project:
::code-group
```sh [pnpm]
pnpm i -D @nuxthq/ui
pnpm i -D @nuxt/ui
```
```bash [yarn]
yarn add -D @nuxthq/ui
yarn add -D @nuxt/ui
```
```bash [npm]
npm install -D @nuxthq/ui
npm install -D @nuxt/ui
```
::
@@ -26,7 +26,7 @@ npm install -D @nuxthq/ui
```ts [nuxt.config]
export default defineNuxtConfig({
modules: ['@nuxthq/ui']
modules: ['@nuxt/ui']
})
```
@@ -128,7 +128,7 @@ Configure options in your `nuxt.config.ts` as such:
```ts [nuxt.config.ts]
export default defineNuxtConfig({
modules: ['@nuxthq/ui'],
modules: ['@nuxt/ui'],
ui: {
global: true,
icons: ['mdi', 'simple-icons']
@@ -138,14 +138,14 @@ export default defineNuxtConfig({
## Edge
To use the latest updates pushed on the [`dev`](https://github.com/nuxtlabs/ui/tree/dev) branch, you can use `@nuxthq/ui-edge`.
To use the latest updates pushed on the [`dev`](https://github.com/nuxt/ui/tree/dev) branch, you can use `@nuxt/ui-edge`.
Update your `package.json` to the following:
```json [package.json]
{
"devDependencies": {
"@nuxthq/ui": "npm:@nuxthq/ui-edge@latest"
"@nuxt/ui": "npm:@nuxt/ui-edge@latest"
}
}
```