When trying to include pusher.js in my .vue
file using the following code:
<script src="https://js.pusher.com/5.1/pusher.min.js"></script>
I encounter an error in the console stating:
ReferenceError: Pusher is not defined
.
Is there a different method for including external js files in .vue files? I am unable to run the js code within the <script>
tags.