This guide will walk you through creating your first SvelteKit project using Zvelte. You’ll have a fully configured, production-ready application running in minutes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/queaxtra/zvelte/llms.txt
Use this file to discover all available pages before exploring further.
Create Your First Project
Run the create command
Open your terminal and run Zvelte with your desired project name:This command will:
Replace
my-awesome-project with your desired project name. Use . to create the project in the current directory.- Clone the SvelteKit template from sveltekit-shadcn-template
- Remove the
.gitdirectory for a clean start - Update
package.jsonwith your project name - Optionally install dependencies with your chosen package manager
Choose package manager (if prompted)
If you used the Select your preferred package manager using arrow keys and press Enter.
--install flag without specifying a package manager, Zvelte will prompt you to choose:Wait for setup to complete
Zvelte will now clone the template and set up your project. You’ll see output similar to:If you enabled dependency installation:
Navigate to your project
Change into your new project directory:If you created the project in the current directory (using
.), you’re already there!Install dependencies (if not already installed)
If you skipped automatic installation, install dependencies now:
Start the development server
Launch the development server to see your project in action:You should see output like:
What You Get
Your new project includes:SvelteKit Framework
Full SvelteKit setup with file-based routing, server-side rendering, and optimized builds.
Shadcn UI Components
Beautiful, accessible components built on Radix UI primitives.
Tailwind CSS
Utility-first CSS framework configured and ready to use.
Internationalization
Built-in i18n support for multi-language applications.
Project Configuration
Zvelte automatically updates yourpackage.json with:
- name: Set to your project directory name
- version: Reset to
0.0.1 - description: Cleared to an empty string for you to customize
Common Use Cases
Create project in current directory
Create project in current directory
If you want to create a project in the current directory instead of a new folder:
Skip dependency installation
Skip dependency installation
If you want to install dependencies later or use a different method:Then install manually when ready:
Use specific package manager
Use specific package manager
Specify your preferred package manager directly:
Next Steps
CLI Reference
Explore all available commands and options.
Template Documentation
Learn about the template’s features and structure.
SvelteKit Docs
Dive into SvelteKit’s official documentation.