{"id":22327,"library":"runable-website-runtime","title":"Runable Website Runtime","description":"A Vite plugin for enabling website editing capabilities by augmenting the Vite dev server. Current stable version 0.0.14, released on an as-needed basis. Differentiates from other Vite plugins by focusing specifically on runtime editing features such as hot-reloadable content blocks and visual editing overlays. Ships TypeScript types and supports Vite 5, 6, and 7.","status":"active","version":"0.0.14","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install runable-website-runtime","lang":"bash","label":"npm"},{"cmd":"yarn add runable-website-runtime","lang":"bash","label":"yarn"},{"cmd":"pnpm add runable-website-runtime","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required as peer dependency for plugin functionality","package":"vite","optional":false}],"imports":[{"note":"ESM-only; CommonJS require not supported. TypeScript types included.","wrong":"const RunableWebsiteRuntime = require('runable-website-runtime')","symbol":"RunableWebsiteRuntime","correct":"import { RunableWebsiteRuntime } from 'runable-website-runtime'"},{"note":"Default export is also available; prefer named import for clarity.","wrong":"import { default } from 'runable-website-runtime'","symbol":"default","correct":"import runablePlugin from 'runable-website-runtime'"}],"quickstart":{"code":"// vite.config.ts\nimport { defineConfig } from 'vite';\nimport { RunableWebsiteRuntime } from 'runable-website-runtime';\n\nexport default defineConfig({\n  plugins: [\n    RunableWebsiteRuntime({\n      mode: 'edit',\n      apiKey: process.env.RUNABLE_API_KEY ?? ''\n    })\n  ]\n});","lang":"typescript","description":"Configures Vite with Runable plugin for editing capabilities using environment variable for API key."},"warnings":[{"fix":"Upgrade Vite to ^5.0.0 || ^6.0.0 || ^7.0.0.","message":"Vite peer dependency requirement changed: version ^7.0.0 was added in v0.0.14, which may break setups pinned to Vite 4.","severity":"breaking","affected_versions":"<0.0.14"},{"fix":"Conditionally apply plugin only when `command === 'serve'` in Vite config.","message":"Plugin must be used in development mode only; production builds may fail if the plugin is included.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `npm install runable-website-runtime` and ensure import uses correct casing.","cause":"Package not installed or incorrect import path.","error":"Error: Cannot find module 'runable-website-runtime'"},{"fix":"Use `import { RunableWebsiteRuntime } from 'runable-website-runtime'` instead of `require`.","cause":"CommonJS require used instead of ESM import.","error":"TypeError: RunableWebsiteRuntime is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}