How to include a CDN to VueJS CLI without NPM or Webpack? : <p>I'm new on VueJS ans Webpack. I've created a project with VueJS CLI and trying to work with it. I need to insert an CDN to my code.</p>

<p>When working with standard HTML, CSS &amp; JS solutions, I'd include CDNs like this: </p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;title&gt;False Merge&lt;/title&gt;

    &lt;!-- CDN --&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.16/sl-1.2.5/datatables.min.css"/&gt;

    &lt;!-- StyleSheets --&gt;
    &lt;link rel="stylesheet" href="public/stylesheets/index.css" /&gt;
&lt;/head&gt;

&lt;body&gt;


    &lt;script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.16/sl-1.2.5/datatables.min.js"&gt;&lt;/script&gt;

    &lt;script src="public/javascripts/index.js"&gt;&lt;/script&gt;

&lt;/body&gt;

&lt;/html&gt;</code></pre>
</div>
</div>
</p>

<p>As you can see, you can add a CDN script with the HTML script tag, and start using it in the JS.</p>

<p>I'm trying to do the same with VueJS in a component. I've got the template and style sections ready.</p>

<p>Unfortunately, I don't know how to add in a simple way a CDN to use inmediately in the script tag within the Vue component. I tried to do this but it is not working.</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;template&gt;
  &lt;div class="index"&gt;
    &lt;div class="container"&gt;
      &lt;table id="table_dataset" class="display"&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
&lt;/template&gt;

&lt;script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.16/sl-1.2.5/datatables.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
  export default {
    name: 'Index',
    data() {
      return { 
      }
    }
  }
&lt;/script&gt;

&lt;!-- Add "scoped" attribute to limit CSS to this component only --&gt;
&lt;style scoped&gt;
&lt;/style&gt;</code></pre>
</div>
</div>
</p>

<p>Is there a way to add a CDN (without Webpack or NPM) to a VueJS component?</p>
