---
title: "Discussion on \"Implementing External Widgets in Vue.js\" | Hashnode"
description: "Discussion on \"Implementing External Widgets in Vue.js\". Embedding an independent component in a third party website. \n\nAs a developer, we might come across a situation where we want to inject some component or an app (or a part of an app) in some external application. Such components are called widgets. W..."
url: "https://hashnode.com/posts/implementing-external-widgets-in-vuejs/5ff40e47fc8177134fbb4a64"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing External Widgets in Vue.js](https://techblog.geekyants.com/implementing-external-widgets-in-vuejs?utm_source=hashnode&utm_medium=feed)

Embedding an independent component in a third party website. As a developer, we might come across a situation where we want to inject some component or an app (or a part of an app) in some external application. Such components are called widgets. W...

Feb 2, 2021 · 7 min read · techblog.geekyants.com  
Updated Jul 9, 2021  
Read the article

-   [#vuejs](https://hashnode.com/tag/vuejs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#vue](https://hashnode.com/tag/vue)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)

## Written by

[Shrey Tiwari](https://hashnode.com/@Shrey2697)

@Shrey2697 · India

  
[View profile](https://hashnode.com/@Shrey2697)

Software Developer @ Geekyants

I ❤️ to create stuff that simplifies lives...

## Responses 2

Markdown supported · ⌘↵ to post

[James White](https://hashnode.com/@Jakenuts)

[Dec 26, 2021](https://hashnode.com/posts/implementing-external-widgets-in-vuejs/5ff40e47fc8177134fbb4a64/comment/61c9009c1de80a7fb227f81b)

Could you explain why you’ve dynamically linked the script rather than just adding the link directly? I suppose it ensures that the script is in the head tag in case the widget is used just below that, but it feels odd.

[Rishi for easyweb.dev](https://hashnode.com/@RishiU)

[Sep 15, 2021](https://hashnode.com/posts/implementing-external-widgets-in-vuejs/5ff40e47fc8177134fbb4a64/comment/6141b6c8c5f31102b885ea87)

Where are you using vue here?

are you creating the widget in vue? or adding the widget to a vue app?

where is the vue instance ?

[Shrey Tiwari](https://hashnode.com/@Shrey2697)

[Nov 4, 2021](https://hashnode.com/posts/implementing-external-widgets-in-vuejs/5ff40e47fc8177134fbb4a64/comment/6141b6c8c5f31102b885ea87#reply-6183abb9fd5d634d01696a2a)

Vue is used in creating the widget.
