שגיאה בשימוש ב-{{didInsert}} ברכיב מחבר: “לא ניתן להפעיל את בנאי המחלקה DidInsertModifier ללא 'new'”

It looks like there’s some code missing from your example? I’d expect to see a <template> / </template>, and for the modifier to be attached to an element like

<template>
  <div {{didInsert this.modifyElement}}>
    ...
  </div>
</template>
לייק 1