Installation guide

Welcome to the Tzezars Enhancements installation guide! This guide will help you install and configure the package to enhance your Svelte projects with additional components and utilities.

Prerequisites

Before you begin, ensure you have the following installed:

  1. Shadcn-Svelte

Install with CLI

To quickly set up the package, use the following command:

		npx shadcn-svelte-enhancements init
	

During the setup process, you’ll be prompted to choose which components you’d like to include in your project. You can select only the components you need, ensuring your project stays lightweight and free from unnecessary additions.

Component Selection and Updates

  1. After running the setup command, you can pick which components to copy to your project.
  2. If you’ve previously installed components and need to update or override them, simply run the setup command again. The components you choose will be copied over, replacing the previous versions if necessary.
  3. You can run the setup command multiple times to add more components to your project later on as needed.
✔ Where do you want to place components? ./src/lib/components/tzezars-enhancements ✔ Select components to install (use space to select multiple): [x] avatar-group [x] code-block [ ] code-snippet ...

Installation Completed

Once the installation is complete, you’ll see a success message in your terminal. The selected components will be installed and configured automatically, and you’ll be ready to start using them in your project.

Usage Example

Troubleshooting

If you encounter issues during installation, check the following:


  1. Try clearing npm cache: npm cache clean --force
  2. Check the GitHub Issues for known bugs