[Vuejs]-Use CDN library in Vue component

0👍

Is there a reason that you didn’t want to use vue-scroll-reveal?

If you didn’t want to go that route, another option would be to import the library in the <script> tag like you did, and then add it to the prototype.

Here is an example with Axios.

Leave a comment