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.
- [Vuejs]-Kendo Vue Charts Native CDN Install Errors
- [Vuejs]-Switch multiple case and multiple return in Vue/Javascript
Source:stackexchange.com