docs: use new nuxi module add command in installation (#1606)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Daniel Roe
2024-04-10 17:52:34 +02:00
committed by GitHub
parent d19d7077e4
commit f08471ccda
4 changed files with 10 additions and 34 deletions

View File

@@ -31,10 +31,11 @@
readonly
autocomplete="off"
icon="i-heroicons-command-line"
input-class="select-none"
class="w-72"
input-class="focus:ring-1 focus:ring-gray-300 dark:focus:ring-gray-700"
aria-label="Install @nuxt/ui"
size="lg"
:ui="{ base: 'disabled:cursor-default', icon: { trailing: { pointer: '' } } }"
:ui="{ icon: { trailing: { pointer: '' } } }"
>
<template #trailing>
<UButton
@@ -435,7 +436,7 @@ useSeoMeta({
twitterImage: 'https://ui.nuxt.com/social-card.png'
})
const source = ref('npm i @nuxt/ui')
const source = ref('npx nuxi@latest module add ui')
const sectionRef = ref()
const demoRef = ref()
const start = ref(0)