@tuvix.js/devtools
v0.4.2
Published
In-page debug panel for Tuvix.js microfrontend framework
Downloads
23
Maintainers
Readme
@tuvix.js/devtools
In-browser debug panel for Tuvix.js micro apps
Part of the Tuvix.js microfrontend framework.
Installation
npm install @tuvix.js/devtoolsQuick Start
import { createOrchestrator } from '@tuvix.js/core';
import { installDevTools } from '@tuvix.js/devtools';
const orchestrator = createOrchestrator();
if (process.env.NODE_ENV === 'development') {
installDevTools(orchestrator);
}Toggle the panel with Ctrl+Shift+T (or Cmd+Shift+T on macOS).
API
installDevTools(orchestrator, options?)— Attach the debug overlay to an orchestratorDevToolsPanel— The debug panel UI classEventLogger— Event logging utility
License
MIT
