alexjoverm / alexjoverm/v-runtime-template

Error handling

Offen
#5 10 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
601
Forks
71
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi there,

I am using v-runtime-template and it works like a charm! Thank you for your awesome work!

However, I'm not sure that the templates I'm rendering are correct. They can be valid or not and I have no control about that. I would like to execute some code (to display an error message) when they are not valid. The problem is that I can't catch the error to execute some code.I end up with this error :
``` "Failed to mount component: template or render function not defined.```
And I can't catch it to execute some code.

Any ideas? If I solve this problem I may contribute to your lib to integrate error handling :D

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.