I've follow answer from this question: How to import jquery using ES6 syntax?
I have this code:
import $ from 'jquery';
import jQuery from 'jquery';
window.$ = $;
window.jQuery = jQuery;
import 'jquery.terminal';
but got error ReferenceError: jQuery is not defined
from the plugin, how to resolve this?