Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add new components #5

Open
nooblyf opened this issue Dec 17, 2023 · 1 comment
Open

Unable to add new components #5

nooblyf opened this issue Dec 17, 2023 · 1 comment

Comments

@nooblyf
Copy link

nooblyf commented Dec 17, 2023

I followed the instructions mentioned in the readme

Adding shadcn components

Adding new components is pretty simple, you can either manually over components to the packages/ui directory. Or, cd into apps/web and run the shadcn CLI command, e.g. npx shadcn-svelte add accordion. This will put the new component in the packages/ui directory.

but i'm getting Configuration is missing. Please run init to create a components.json file.

@multiplehats
Copy link
Owner

This use to work, but the CLI has changed quite a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants