Getting Started
Build something amazing with this step-by-step interactive guide. Click to reveal features as you go.
1. Install
npm create yourproject@latest
Project Structure
Your files will be organized in this structure...
Package Manager
Uses your system's native package manager (npm, yarn, pnpm)
2. Configure
.env
PORT=3000
tsconfig.json
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext"
}
}
vite.config.ts
import { defineConfig } from 'vite'
3. Run
1
Start development server
npm run dev
2
View in browser
http://localhost:3000
Code Example
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet("World"));