Throw vue plugin from a TS function

  Kiến thức lập trình

Good day, currently I am working with quasar and vue3, I created a plugin for custom q-dialog, I want to trigger the component from my script similar to quasar, I was finding out but i don´t find an exemple or documentation for this implementation. The shape that I want to trigger the component is similar to:

$q.notify({
        type: 'positive',
        message: data.error,
        position: 'top',
      });

I want to trigger my component from a TS function

New contributor

Luis Rodriguez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT