--- title: "Vue" description: "Mount a FlowDrop editor into a Vue 3 component." source: https://flowdrop.io/docs/editor/frameworks/vue site: FlowDrop documentation --- # Vue In Vue 3, mount FlowDrop on `onMounted` using a template ref, and tear it down on `onBeforeUnmount`. No Svelte knowledge required. ## 1. Install ```bash npm npm install @flowdrop/flowdrop @iconify/svelte @xyflow/svelte ``` ```bash pnpm pnpm add @flowdrop/flowdrop @iconify/svelte @xyflow/svelte ``` ```bash yarn yarn add @flowdrop/flowdrop @iconify/svelte @xyflow/svelte ``` **Your bundler needs the Svelte plugin.** FlowDrop ships its UI as Svelte 5 components, so your bundler must compile them (you won't write any Svelte). With Vite, add `@sveltejs/vite-plugin-svelte` and `svelte` as dev dependencies and enable the plugin alongside the Vue plugin — see the **Bundler setup** section of the [quick start](/start/quickstart) for the full config. ## 2. Mount the editor ```vue ``` **FlowDrop needs a backend.** It serves nodes and stores workflows. Point `endpointConfig` at your API, or [run a ready-made server](/start). ## Next steps The mental model behind the editor. The REST endpoints FlowDrop calls.