David-Desmaisons / vue-plotly

📈 vue wrapper for plotly.js
https://david-desmaisons.github.io/vue-plotly/
MIT License
255 stars 74 forks source link

Question: how to include this in the browser? #29

Open pfeatherstone opened 3 years ago

pfeatherstone commented 3 years ago

I'm using vue.js without node. I would like to use this for plotting stuff. So far i've run npm run build then i've added the following in my html file: <script src="vue-plotly.umd.min.js"></script> This comes up with an error. What's the best way to do this?

pfeatherstone commented 3 years ago

i'm not using node since this runs offline so i want to download all my dependencies ahead of time. It would seem that node and npm only really work well if you always have internet connection. Hence the need for my stuff to be "browser-only", or whatever the term is.