0

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?

Community
  • 1
  • 1
jcubic
  • 61,973
  • 54
  • 229
  • 402

1 Answers1

0

I've resolved the issue using:

require('jquery.terminal');
jcubic
  • 61,973
  • 54
  • 229
  • 402