Create project
Start by creating a new SolidStart project using create-solid
and select tailwind or uno:
Path Aliases
I'm use the @
alias to make it easier to import your components. This is how you can configure it:
Run the CLI
Run the shadcn-solid
init command to setup your project:
You will be asked a few questions to configure components.json
:
That's it
You can now start adding components to your project.
The command above will add the Button component to your project. You can then import it like this: