Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jorgemarazba/Front-end/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
This guide will help you create and run your first application in minutes. We’ll walk through creating a new project, understanding the structure, and building your first component.Prerequisites
Before you begin, ensure you have:- Node.js 18.x or higher installed on your machine
- npm, yarn, or pnpm package manager
- A code editor (we recommend VS Code with TypeScript support)
Create a New Project
Use the CLI to scaffold a new project with all the necessary configuration:The CLI will prompt you to choose:
- Template: Start with TypeScript (recommended) or JavaScript
- Styling: Tailwind CSS, CSS Modules, or Styled Components
- Features: Routing, State Management, Testing utilities
For this quick start, select TypeScript with Tailwind CSS and enable Routing.
Explore the Project Structure
Your new project includes everything you need to get started:Key files:
src/App.tsx- Your application’s entry pointsrc/pages/- File-based routing (each file is a route)src/components/- Where you’ll build reusable components
Start the Development Server
Launch the dev server with hot module replacement:Your application will be available at
http://localhost:3000Changes to your code will automatically refresh in the browser without losing state.
Create Your First Component
Let’s build a simple interactive component. Create a new file This component demonstrates:
src/components/Welcome.tsx:src/components/Welcome.tsx
- State management with
useState - Form handling with controlled inputs
- Conditional rendering for the greeting message
- Tailwind CSS for styling
Use Your Component
Import and use your new component in Save the file and see your changes instantly in the browser!
src/App.tsx:src/App.tsx
Next Steps
Congratulations! You’ve created your first application. Here’s what to explore next:Components
Learn about component patterns and best practices
Routing
Build multi-page applications with file-based routing
State Management
Manage complex application state effectively
Styling
Explore different styling approaches and theming
Common First Steps
Add a New Page
Create a file insrc/pages/about.tsx:
src/pages/about.tsx
Fetch Data
Use the built-in data fetching utilities:Getting Help
Stuck? Check out our Installation Guide for detailed troubleshooting or join our community Discord for real-time help.