1
Create project
Use the SvelteKit CLI to create a new project with TailwindCSS
2
Setup path aliases
If you are not using the default alias
$lib, you’ll need to update your svelte.config.js file to include those aliases.svelte.config.js
3
Run the CLI
4
Configure components.json
You will be asked a few questions to configure
components.json:5
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: