/frappe-apps-manager:frappe-vue-component-integratorfrom frappe-apps-manager
Create and integrate custom Vue 3 components into Frappe Pages, Doctype Views, or Dialogs. Covers mounting, Pinia state management, and asset bundling via esbuild.
Ships in frappe-apps-manager. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Frappe's modern desk allows mounting Vue 3 applications into standard UI wrappers (Pages, Doctype forms, or Dialogs). This pattern is superior to jQuery for complex, state-driven interfaces.
Invoke this skill when:
Place your Vue source files in public/js/ under a dedicated folder:
my_app/
public/
js/
my-component/
App.vue
store.js (Pinia)
components/
Widget.vue
my_component.bundle.js (Entry Point)
App.vue)Use Vue 3 Composition API for best results.
<template>
<div class="my-app-container">
<h1>{{ title }}</h1>
<div class="stats-grid">
<div v-for="stat in stats" :key="stat.label" class="stat-card">
<h3>{{ stat.value }}</h3>
<p>{{ stat.label }}</p>
</div>
</div>
</div>
</template>
<script setup>
import { ref, onMounted } from 'vue';
const props = defineProps(['title', 'initialData']);
const stats = ref(props.initialData || []);
onMounted(() => {
console.log("Vue component mounted for:", props.title);
});
</script>
<style scoped>
.my-app-container { padding: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.stat-card { border: 1px solid #ddd; padding: 15px; border-radius: 8px; }
</style>
my_component.bundle.js)This file is the bridge between Frappe (jQuery/Vanilla) and Vue.
import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./my-component/App.vue";
frappe.provide("frappe.my_app.ui");
class MyComponentManager {
constructor({ wrapper, page, settings }) {
this.$wrapper = $(wrapper);
this.page = page;
this.settings = settings;
this.init();
}
init() {
const pinia = createPinia();
const app = createApp(App, {
title: this.settings.title,
initialData: this.settings.data
});
app.use(pinia);
// Set global frappe variables if needed in Vue
app.config.globalProperties.$frappe = window.frappe;
// Mount to the jQuery wrapper
this.vue_app = app.mount(this.$wrapper.get(0));
}
}
frappe.my_app.ui.MyComponentManager = MyComponentManager;
export default MyComponentManager;
frappe.pages['my-dashboard'].on_page_load = function(wrapper) {
let page = frappe.ui.make_app_page({
parent: wrapper,
title: 'Vue Dashboard',
single_column: true
});
// 1. Load the bundle
frappe.require("my_component.bundle.js").then(() => {
// 2. Initialize the bridge class
new frappe.my_app.ui.MyComponentManager({
wrapper: $(wrapper).find('.layout-main-section'),
page: page,
settings: {
title: "Active Users",
data: [{label: "Total", value: 100}]
}
});
});
}
hooks.pyEnsure Frappe bundles the JS during bench build.
app_include_js = [
"my_component.bundle.js"
]
Always use a "Bridge Class" (like MyComponentManager) in the bundle. This allows:
frappe.Page object inside Vue if passed as a prop.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vyogotech/frappe-apps-manager --plugin frappe-apps-manager90 skills in this plugin
/frappe-add-service-composeAdd a new microservice to dev-podman-compose.yml with proper configuration, dependencies, and networking./frappe-agent-debuggerUse when debugging Frappe errors, using bench console for live inspection, analyzing tracebacks, or reading Frappe log files. Prevents wasted debugging time from ignoring log context, misreading tracebacks, and not using bench console effectively. Covers bench console, frappe.logger, error log DocType, traceback analysis, common error patterns, log file locations, pdb/debugger integration, VS Code DAP, profiling, Frappe Recorder, mariadb diagnostics. Keywords: debug, bench console, traceback, error log, frappe.logger, pdb, debugging, log analysis, inspect, VS Code, DAP, profiling, recorder, mariadb, monitor, ERPNext error, how to debug, find the bug, what went wrong, stack trace, error message..
/frappe-agent-interpreterUse when receiving vague or unclear ERPNext/Frappe development requests that need interpretation. Transforms requirements like 'make invoice auto-calculate' or 'add approval workflow' into concrete technical specifications. Determines which Frappe mechanisms to use and maps to the full 61-skill catalog. Keywords: vague requirement, clarify scope, translate business need, technical spec, implementation plan, what does this mean, unclear requirement, translate to code, how to build this.
Other plugins' skills for the same job