@awenate/react
v0.2.1
Published
Awenate visual-editing Vite plugin for React
Maintainers
Readme
@awenate/react
Vite plugin that enables the Awenate visual editor for React projects. Wraps the
shared @awenate/core bridge with React-specific source
instrumentation (JSX source attrs, React DevTools hook, HMR handling).
// vite.config.ts
import { awenate } from "@awenate/react";
export default defineConfig({
plugins: [awenate(), react()],
});Options
enabled(defaulttrue) — toggle bridge injection.enableElectronAPIProxy(defaultfalse) — proxywindow.electronAPIto the parent window for iframe previews.
