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

**URL:** <https://discourse.nodered.org/t/binding-html-code-to-dashboard-2-0-template-doesn-t-work-as-in-dashboard/87092>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [9 April 2024 06:20 UTC](https://discourse.nodered.org/t/binding-html-code-to-dashboard-2-0-template-doesn-t-work-as-in-dashboard/87092 "2024-04-09T06:20:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 April 2024 06:42 UTC](https://discourse.nodered.org/t/binding-html-code-to-dashboard-2-0-template-doesn-t-work-as-in-dashboard/87092/3 "2024-04-09T06:42:09Z")

</div>

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](https://discourse.nodered.org/t/simple-dashboard-2-0-template-node-example/86946)

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.

---

_[View the full topic](https://discourse.nodered.org/t/binding-html-code-to-dashboard-2-0-template-doesn-t-work-as-in-dashboard/87092)._
