Clone the repo and run below commands to install packages and run in dev mode
npm i
npm run dev
into <head>
of /public/index.html
<script type="text/javascript" src="https://public.tableau.com/javascripts/api/tableau-2.min.js"></script>
https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_samples.htm