how to use it in vuejs ?
wjkhappy14 opened this issue ยท 2 comments
wjkhappy14 commented
i do as the document ๐ https://stenciljs.com/docs/vue
but can't find the loader
wjkhappy14 commented
import { applyPolyfills, defineCustomElements } from 'elsa-workflow-designer/loader';
Vue.config.productionTip = false;
Vue.config.ignoredElements = [/elsa-\w*/];
applyPolyfills().then(() => {
defineCustomElements();
});
sfmskywalker commented
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