Getting Started
Overview
@verbb/plugin-kit-vue is for Craft plugin developers who want to build richer control panel interfaces with Vue 3.
The package provides thin Vue facades over @verbb/plugin-kit-web custom elements. Behavior and styles live in the web components; Vue maps props, attrs, and slots through the facade layer.
What this package gives you
- Vue components that wrap
<pk-*>web components (import = register) PluginKitProvider+mountShadowAppfor Craft CP mounts- Opt-in Craft host bridge helpers (
createCraftHostBridge,hostRequest, …) - Shadow DOM mounting with scoped overlay scroll-lock behavior
SchemaForm is available as @verbb/plugin-kit-vue/forms — same engine contract as React, Vue facades over the web components. See Forms.
What you will build in this guide
The getting started path assumes you are starting from a PHP-only plugin with no frontend build setup yet.
By the end of it, you should understand how to:
- add a small frontend toolchain to your plugin
- create a Vue entry file with
createApp+PluginKitProvider - register the built files as a Craft CP asset bundle
- render a mount element in your template or CP page
- mount your first
plugin-kit-vueUI inside the Craft control panel
Where to read next
- Read Quick Start for the full PHP-plugin-to-first-Vue-screen setup.
- Read CSS setup once your app is mounting and you are ready to choose light DOM or Shadow DOM.
- Read Testing and debugging if your first integration is not behaving as expected.
- Read Creating a Vue app when you want the frontend concepts explained in more detail, then use the Vue API reference pages as needed.
Edit this page
Last updated: Jul 19, 2026, 4:42 PM