elsa-designer icon indicating copy to clipboard operation
elsa-designer copied to clipboard

how to use it in vuejs ?

Open wjkhappy14 opened this issue 4 years ago • 2 comments

i do as the document 👍 https://stenciljs.com/docs/vue but can't find the loader

wjkhappy14 avatar Apr 20 '20 06:04 wjkhappy14

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

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

wjkhappy14 avatar Apr 20 '20 06:04 wjkhappy14

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

sfmskywalker avatar Apr 22 '20 15:04 sfmskywalker