Your First HTFlow Project
This guide will walk you through creating your first HTFlow project using the HTFlow extension.Make sure you’ve installed the HTFlow extension first:
Step 1: Open a Project Folder
1
Open VS Code
Launch Visual Studio Code
2
Open a Folder
Go to File → Open Folder and select an empty folder for your project
Step 2: Open the HTFlow Panel
Access the HTFlow interface:
Step 3: Initialize Your Project
1
Click Initialize Project
In the HTFlow panel, click the “Initialize Project” button
2
Follow the Prompts
The extension will guide you through the initialization process:
- Project name
- Configuration options
- Template selection (if available)
3
Wait for Completion
HTFlow will create the necessary project structure and files
You should see success messages in the Output panel
Step 4: Start Development Server
Now that your project is initialized, start the development server:1
Click Start Dev Server
In the HTFlow panel, click “Start Development Server”
2
Automatic Port Management
HTFlow will automatically find an available port and start the server
The extension tracks running servers and displays them in the panel
3
Open in Browser
Your default browser will open with your development server URL
Default URL
Step 5: Make Changes
Start editing your project files:Step 6: Validate Your Code
Ensure your code meets Webflow compatibility standards:1
Click Validate
In the HTFlow panel, click “Validate Project”
2
Review Results
The extension will show validation results:
- HTML compliance
- CSS compatibility
- JavaScript standards
3
Fix Issues
Address any reported issues to ensure Webflow compatibility
Step 7: Build for Production
When you’re ready to deploy:1
Run Project Audit
Click “Audit Project” to get a comprehensive analysis
2
Build Production Code
Click “Build Project” to create optimized production files
Output
3
Deploy to Webflow
Use the production files in the
dist folder to deploy to WebflowKeyboard Shortcuts
Speed up your workflow with keyboard shortcuts:| Action | Windows/Linux | Mac |
|---|---|---|
| Open HTFlow Panel | Ctrl+Shift+H | Cmd+Shift+H |
Useful Commands
Package Management
Install, update, and manage HTFlow CLI
Project Management
Initialize and manage projects
Development
Start development servers
Validation & Audit
Validate and audit your code
Next Steps
Explore All Commands
Learn about all available HTFlow commands and features
Check Requirements
Review system requirements and best practices