# Load javascript dependencies

**URL:** <https://forum.shopware.com/t/load-javascript-dependencies/64996>\
**Category:** Themes & Design (EN)\
**Created:** [25. Februar 2020 um 14:55 UTC](https://forum.shopware.com/t/load-javascript-dependencies/64996 "2020-02-25T14:55:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suci](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@suci](https://forum.shopware.com/u/suci)\
**Post date:** [25. Februar 2020 um 14:55 UTC](https://forum.shopware.com/t/load-javascript-dependencies/64996/1 "2020-02-25T14:55:16Z")

</div>

I created a custom theme and a storefront plug-in.

In my plugin I like to use VueJs to make interact with the page, but, when I try to use it, i got an error because is not defined.

How can I load VueJs on the storefront by installing it on my plug-in or theme ? There is any package.json on the structure where I can declare the dependencies I need to use on my storefront ?

Thanks for answering. And forgive me if I&nbsp;mistake something; this is my first question.

---

<div class="post-metadata">

**Author:** ![codebysantn](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@codebysantn](https://forum.shopware.com/u/codebysantn)\
**Post date:** [15. April 2020 um 02:53 UTC](https://forum.shopware.com/t/load-javascript-dependencies/64996/2 "2020-04-15T02:53:38Z")

</div>

And how to load the external javascript library into the plugin?

---

<div class="post-metadata">

**Author:** ![oliverriske](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@oliverriske](https://forum.shopware.com/u/oliverriske)\
**Post date:** [15. April 2020 um 05:25 UTC](https://forum.shopware.com/t/load-javascript-dependencies/64996/3 "2020-04-15T05:25:24Z")

</div>

> **[vue.js im Storefront einbinden](https://forum.shopware.com/discussion/65612/vue-js-im-storefront-einbinden#latest)**
>
> Hallo ich würde gerne vuue.js im Storefront Template nutzen. Hat das schon mal jemand versucht. Ich bin für jeden Hiweise, wie ich das einbinden kann dankbar.

---

<div class="post-metadata">

**Author:** ![Ordikhani](https://avatars.discourse-cdn.com/v4/letter/o/e47774/32.png) [@Ordikhani](https://forum.shopware.com/u/Ordikhani)\
**Post date:** [15. Mai 2023 um 13:58 UTC](https://forum.shopware.com/t/load-javascript-dependencies/64996/4 "2023-05-15T13:58:19Z")

</div>

Any Update about this topic? Could someone load external javascript library in shopware?
