Skip to content

Instantly share code, notes, and snippets.

View krushit-dudhat's full-sized avatar
🏠
Working from home

krushit dudhat krushit-dudhat

🏠
Working from home
View GitHub Profile
@krushit-dudhat
krushit-dudhat / README.md
Created January 28, 2025 17:28
Embed a React/Vue application within Frappe Desk (DocType tab or popup, etc.) using iframes.

Frappe + React/Vue Complex Component Integration to Desk

Goal: Embed React/Vue application within Frappe Desk (DocType tab, Desk Page, etc.) using iframes. This approach lets you keep a standard SPA workflow while integrating seamlessly with Frappe.

Key Steps

  1. Separate Frontend Build

    • Use Vite (or similar) to bundle your React/Vue app to frappe_app/public/build_dir.
  2. Iframe Embedding