elsa-workflows/elsa-designer

how to use it in vuejs ?

wjkhappy14 opened this issue ยท 2 comments

i do as the document ๐Ÿ‘ https://stenciljs.com/docs/vue
but can't find the loader

import { applyPolyfills, defineCustomElements } from 'elsa-workflow-designer/loader';

Vue.config.productionTip = false;
Vue.config.ignoredElements = [/elsa-\w*/];
applyPolyfills().then(() => {
defineCustomElements();
});

I think that the issue is that the designer has a dependency on BSComponents, which is also built with StencilJS, and needs some preparation in order to be packaged with Elsa Designer.

However, I'm rewriting the designer for Elsa 2, which will not take any dependencies on other StencilJS components, which should make it easier for me to apply what the StencilJS documentation explains.

See also #16