Level 15
If you only write your jQuery inside your app.js file then you only need to import it.
import $ from "jquery";
If you need to write jQuery inline in a <script> tag, then you also need to add it to the window object.
window.$ = $;
Then if you need to write inline with a <script> tag, then the tag needs to be of type module.
<script type="module">
// $
</script>