Binding HTML code to dashboard 2.0 template doesn´t work as in dashboard

Dashboard 2.0 uses Vue. What you have in your screenshot is angularjs which Dashboard 1 is written for.

If you search the label dashboard-2 you will find many examples. Here is a basic one to get you started: Simple Dashboard 2.0 Template node example

As for binding html, there are many hundreds of thousands of articles about "Vue bind html" around the web but to get you started, here is an example <p v-html="html"></p>


In future, please do not post pictures of code, simply post the code in a code block instead. Thank you.

1 Like