jquery - is not a function error

后端 未结 7 482
傲寒
傲寒 2020-11-30 02:06

Here is my code:

(function($){
    $.fn.pluginbutton = function (options) {
        myoptions = $.extend({ left: true });
        return this.each(function (         


        
7条回答
  •  情话喂你
    2020-11-30 03:04

    It works on my case:

    import * as JQuery from "jquery";
    const $ = JQuery.default;
    

提交回复
热议问题