Does anybody have experience with docuvieware and VueJS. I try to load docuvieware component in vue, but it doesn't work ....
I use HTML directive (v-html) to show the HTML code of docuvieware. In source code I show the htmlContent I give with my backend, but in my browser, not any more ...
Thanks for your help.
Have a good day.
In your component, exec your request to get controller :
When success, get content controller and save in data :
let content = success.data["HtmlContent"]
this.DVComponent = content (=> use v-html directive with data pass)
Next is the trick to start controller :
let re = /<script\b[^>]*>([\s\S]*?)<\/script>/gm;
let scripts = re.exec(content);
It's more complex about angular, but it's done the job.
Who is online
Users browsing this forum: No registered users and 1 guest