Is adding <script>
tag including jquery, then calling $.post
or $.get
inside .vue
is the correct way?
Install jquery
using npm
npm i --save jquery
Then on .vue
file, it can be used as usual:
import jQuery from 'jquery'
let $ = jQuery
$.post( ... )