0👍
Try to import jQuery
in the component, or define $
globally in your application:
import $ from 'jquery'
Also, you can do this in js
:
document.getElementsByClassName('example-1')
- [Vuejs]-Imported and reexported not found in Vue
- [Vuejs]-Error: message: "Unauthenticated." in laravel and vue
Source:stackexchange.com