I wanted to use the Autoform and the docs said I should first update the form component.
npx shadcn-vue@latest update form
When I ran this, I got the following error
error: unknown command 'update'
And when I checked the --help for the CLI it wasn't there either
$ npx shadcn-vue@latest --help
Usage: shadcn-vue [options] [command]
add components and dependencies to your project
Options:
-v, --version display the version number
-h, --help display help for command
Commands:
init [options] initialize your project and install dependencies
add [options] [components...] add a component to your project
diff [options] [component] check for updates against the registry
help [command] display help for command
Reproduction
see description
Describe the bug
I wanted to use the Autoform and the docs said I should first update the
form
component.When I ran this, I got the following error
And when I checked the
--help
for the CLI it wasn't there eitherAlso, these docs still mention the
update
commandhttps://github.com/unovue/shadcn-vue/blob/b7ef4653f75ea30b28ec2ff635cda4ab71dc2984/apps/www/src/content/docs/cli.md?plain=1#L87
System Info
Contributes