Installation
This guide covers everything you need to install and configure the framework, including prerequisites, multiple installation methods, and troubleshooting common issues.Prerequisites
Before installing, ensure your system meets these requirements:Node.js
Check your Node.js version:We recommend using nvm (Node Version Manager) to manage multiple Node.js versions on your system.
Package Manager
Choose one of the following package managers:- npm (comes bundled with Node.js)
- yarn 1.22+ or yarn 3+
- pnpm 8+ (recommended for monorepos)
Code Editor
While any editor works, we recommend Visual Studio Code with these extensions:- ESLint - Linting and code quality
- Prettier - Code formatting
- TypeScript Vue Plugin / ES7+ React/Redux/React-Native snippets - Framework-specific tooling
- Tailwind CSS IntelliSense - If using Tailwind
Installation Methods
Method 1: Create a New Project (Recommended)
The fastest way to get started is using our CLI scaffolding tool:1
Run the Create Command
my-project with your desired project name.2
Choose Your Configuration
The CLI will prompt you for configuration options:
For most projects, we recommend choosing TypeScript, routing, and Tailwind CSS.
3
Navigate to Project
4
Install Dependencies
Dependencies are installed automatically, but if you need to reinstall:
5
Start Development Server
http://localhost:3000Method 2: Add to Existing Project
If you have an existing project and want to add the framework:1
Install Core Package
2
Install Dev Dependencies
3
Create Configuration
Create a
vite.config.ts file in your project root:vite.config.ts
4
Update TypeScript Config
Update or create
tsconfig.json:tsconfig.json
5
Add Scripts to package.json
package.json
Method 3: Manual Setup
If you prefer complete control over your setup, you can manually configure your project:1
Initialize the project
2
Install core dependencies
3
Add configuration files
Create the necessary configuration files (vite.config.ts, tsconfig.json) as shown in Method 2.
Verify Installation
Run these commands to verify everything is working:Configuration
Environment Variables
Create a.env.local file in your project root for environment-specific variables:
.env.local
Path Aliases
Path aliases are configured intsconfig.json and vite.config.ts. Default alias is @ for the src directory:
Troubleshooting
Port Already in Use
If port 3000 is already in use:vite.config.ts:
Module Not Found Errors
- Clear your package manager cache:
- Ensure all peer dependencies are installed
- Check for typos in import paths
- Verify path aliases are configured correctly
TypeScript Errors
If you’re seeing TypeScript errors:-
Make sure you have TypeScript installed:
-
Restart your TypeScript server in VS Code:
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Type “TypeScript: Restart TS Server”
- Press
-
Check your
tsconfig.jsonis properly configured
Build Failures
Most build failures are due to type errors or missing dependencies. Check the error message carefully.
-
Run type checking separately:
-
Clear build cache:
- Ensure all imports use correct file extensions in the build output
Performance Issues
If development server is slow:-
Enable SWC instead of Babel in
vite.config.ts: -
Exclude large directories from file watching:
- Use pnpm for faster installs in monorepos
Next Steps
Now that you have everything installed:Quick Start Guide
Build your first component in 5 minutes
Project Architecture
Understand the recommended project organization
Development Setup
Learn about advanced configuration options
Development Workflow
Explore development best practices
Additional Resources
For more information about the technologies used:These resources provide comprehensive guides for the core technologies used in this project.