Add a “Get design HTML” Button to Beefree SDK
Learn how to enable end users to export their designs as HTML by adding a simple button to your UI.
Why Export HTML?
Project Map: Where to Look in the Sample Project
File
Purpose
What You’ll Learn
Data Flow Diagram
+----------------+ +----------------+ +---------------------+
| | JSON | | JSON | |
| Beefree SDK | → | Node Proxy | → | Content Services |
| (Frontend) | | (proxy-server) | | API (/html export) |
| | | | | |
+----------------+ +----------------+ +---------------------+
| | |
| | v
| | HTML (text)
| | |
v v |
+-------------------------------------------------------------+
| Frontend UI (React App) |
| "Get design HTML" button → Copy / Download controls |
+-------------------------------------------------------------+Prerequisites
Step 1: Clone the Project
Step 2: Proxy Server (LoginV2 and HTML Forwarder)
Step 3: Vite Dev Proxy (Frontend → Proxy)
Step 4: Initialize Beefree SDK and Track JSON
Step 5: Add the “Get design HTML” Button
Step 6: Display Results (Copy or Download)
Running the Sample
Troubleshooting
Learn More
Key Takeaway
Last updated
Was this helpful?

