<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hosting external libraries in splunk and instantiating them in an HTML dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hosting-external-libraries-in-splunk-and-instantiating-them-in/m-p/475133#M31185</link>
    <description>&lt;P&gt;Is it possible to host and use 3rd party javascript libraries for HTML dashboards and what is the best practice for doing this?&lt;BR /&gt;
more specifically, in my case I'm attempting to use Vue JS for a simple "Hello World" in an HTML dashboard.&lt;BR /&gt;
Instantiating the Vue component as follows&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var app = new Vue({ 
    el: '#app',
    data: {
        message: 'Hello World!'
    }
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then calling on it in HTML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script src="vue.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div id="app"&amp;gt;
    {{ message }}
&amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;neither calling for the JS script explicitly via an external file in .../static or referencing it in require seem to work. &lt;/P&gt;

&lt;P&gt;Does anyone know of a good method/best practice to host/run VueJS in splunk for HTML dashboards?  &lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 04:59:02 GMT</pubDate>
    <dc:creator>mikdman</dc:creator>
    <dc:date>2019-09-11T04:59:02Z</dc:date>
    <item>
      <title>Hosting external libraries in splunk and instantiating them in an HTML dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Hosting-external-libraries-in-splunk-and-instantiating-them-in/m-p/475133#M31185</link>
      <description>&lt;P&gt;Is it possible to host and use 3rd party javascript libraries for HTML dashboards and what is the best practice for doing this?&lt;BR /&gt;
more specifically, in my case I'm attempting to use Vue JS for a simple "Hello World" in an HTML dashboard.&lt;BR /&gt;
Instantiating the Vue component as follows&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var app = new Vue({ 
    el: '#app',
    data: {
        message: 'Hello World!'
    }
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then calling on it in HTML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script src="vue.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div id="app"&amp;gt;
    {{ message }}
&amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;neither calling for the JS script explicitly via an external file in .../static or referencing it in require seem to work. &lt;/P&gt;

&lt;P&gt;Does anyone know of a good method/best practice to host/run VueJS in splunk for HTML dashboards?  &lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 04:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Hosting-external-libraries-in-splunk-and-instantiating-them-in/m-p/475133#M31185</guid>
      <dc:creator>mikdman</dc:creator>
      <dc:date>2019-09-11T04:59:02Z</dc:date>
    </item>
  </channel>
</rss>

