Static GitHub Issues

[354] Initialize a script widget out of the Vue root

prev: How to pronounce Nuxt?
next: How to set enviroment while running nuxt?

We have a javascript widget (global header & global footer that is used on countless websites) that is embedded by a script tag inside a div just after the opening <body> tag (global header) and before the closing <body> tag (global footer).

<div style="min-height:44px;" id="vlaanderen-header">
    <!-- Start global header-->
    <script type="text/javascript" src="//widgets-dev.hbplus.be/widget/live/5ec9879de3e5488bba00a8c1c63b030e"></script>
    <!-- End global header-->
  </div>

Is it possible to add those in a Nuxt project outside the Vue root?

And as a follow-up question. Is it possible to include <script> tags for eg: a Twitter Timeline embed? I presume that is possible?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c307">#c307</a>)</em></sub></div>