# Load Chart.js in UI template locally

**URL:** <https://discourse.nodered.org/t/load-chart-js-in-ui-template-locally/21452>\
**Category:** Dashboard\
**Created:** [9 February 2020 11:50 UTC](https://discourse.nodered.org/t/load-chart-js-in-ui-template-locally/21452 "2020-02-09T11:50:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [9 February 2020 20:23 UTC](https://discourse.nodered.org/t/load-chart-js-in-ui-template-locally/21452/2 "2020-02-09T20:23:51Z")

</div>

Hi, answered in below post:

> [@Import JavaScript library into node-red](https://discourse.nodered.org/t/import-javascript-library-into-node-red/7665/2):
>
> Hi @abra If you want to use third party libraries as part of your node-red dashboard then you need to: copy those libraries to a directory of your choosing set httpStatic in your node-red settings file to point at that directory. The node-red runtime will then serve the files from the directory. You can then add the appropriate \<script\> and \<style\> tags to a ui\_template node in order to load that content into your dashboard. For example, create a directory called /home/user/node-red-stat…

---

_[View the full topic](https://discourse.nodered.org/t/load-chart-js-in-ui-template-locally/21452)._
