0👍
One solution is to embed the chart as an IFRAME
as in:
<iframe style="background: #FFFFFF;border: none;border-radius: 2px;box-shadow: 0 2px 10px 0 rgba(70, 76, 79, .2);" width="640" height="480" src="https://charts.mongodb.com/charts-m220-usxbb/embed/charts?id=621dfa65-fe67-407c-8eff-xxxxxxxx&maxDataAge=3600&theme=light&autoRefresh=true"></iframe>
see the following for an example: https://restaurantapp-bfnrh.mongodbstitch.com/
Also please post your package.json as it might aid in investigating. Once you have the package working you also need to worry about whether the chart needs authentication to view.
- [Vuejs]-How to convert this arrow function to a normal function?
- [Vuejs]-Component automagically wrapped with additional v-container when loaded with router-view
Source:stackexchange.com