Skip to content

v0.5.2

Choose a tag to compare

@trusktr trusktr released this 09 Feb 23:21
· 33 commits to main since this release

Convert from Vue to Custom Elements .

Remove Vue and convert to a <live-code> Custom Element that wraps a new <code-mirror> Custom Element from our new code-mirror-el package. The custom elements are powered by Lume Element.

BREAKING: Although it is no longer a Vue component, after you import the
custom element you can still use it in your Vue template just like
before, but the template property has been renamed to content. There
is now no need to list the element in your Vue component's components
field, delete it from there. Styling works differently, so if you
previously had custom CSS styles, you now need to add your styles to el.shadowRoot or el.shadowRoot.adoptedStyleSheet. There will be an improved API in the near future like what the <code-mirror> element has.

Full Changelog: v0.4.0...v0.5.2