A vite plugin for Vue DevTools that enhances Vue developer experience with debugging and inspection capabilities
—
Core RPC communication functions for DevTools server connectivity, health monitoring, and project configuration access.
Simple heartbeat function to verify server connectivity and RPC communication.
/**
* Simple heartbeat function for server connectivity verification
* @returns Always returns true to confirm server is responsive
*/
function heartbeat(): boolean;Usage Example:
// Verify server connection
const isAlive = heartbeat();
console.log('Server responsive:', isAlive); // Always true if connection worksAccess to core project configuration information.
/**
* Gets the project root directory path
* @returns Project root directory as absolute path
*/
function getRoot(): string;Usage Example:
const projectRoot = getRoot();
console.log('Project root:', projectRoot);
// Result: "/Users/developer/my-vue-project"These functions are part of the RPC (Remote Procedure Call) system that enables communication between the DevTools client and the Vite development server.
RPC functions handle common error scenarios:
Server communication functions work alongside other DevTools capabilities:
Install with Tessl CLI
npx tessl i tessl/npm-vite-plugin-vue-devtools