describo / crate-builder-component

A VueJS UI component to build an RO-Crate
MIT License
6 stars 3 forks source link

Web component adjustments #30

Closed beepsoft closed 1 year ago

beepsoft commented 1 year ago

Fixes use of ElementPlus via ElementPlusResolver and the inlining of generated CSS.

The use of CSS in the web component is still not clear to me. Even though now the generated css is inlined and is (mostly) picked up by the web component some features still don't work.

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css must be imported on the React side as well (annoying, but not really a problem)
  2. The AutoComplete component's dropdown is not styled in React unless I do import "@describo/crate-builder-component/dist/web-component/style.css". This should not be needed.

I may have other updates as I proceed with the React wrapper here: https://github.com/dsd-sztaki-hu/crate-builder-component-react