How to use @baklavajs/core - 1 common examples

To help you get started, we’ve selected a few @baklavajs/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github newcat / baklavajs / packages / baklavajs-full / src / index.ts View on Github external
function createBaklava(element: Element): PluginRendererVue.ViewPlugin {

    Vue.use(PluginRendererVue.BaklavaVuePlugin);

    const editor = new Core.Editor();
    const plugin = new PluginRendererVue.ViewPlugin();
    editor.use(plugin);

    new Vue({
        render: (h) => h("baklava-editor", { props: { plugin } }),
    }).$mount(element);

    return plugin;

}

@baklavajs/core

Core logic of BaklavaJS, a graph editor / node editor for the web

MIT
Latest version published 14 days ago

Package Health Score

75 / 100
Full package analysis

Popular @baklavajs/core functions

Similar packages