require.config({})配置的paging.js页面报错

require.config({  

    paths: {

        "jquery": "../../framework/jquery-1.11.3.min",

        "vue": "../../framework/vue",

        "paging": "../../framework/paging",

        "getConfig": "../services/getConfig",

        "controller": "../services/controller",

        "tc": "../../framework/tc",

        "userManageController": "../controller/userManageController"

    },

    shim:{

        "vue":{    

            exports: 'vue'

        },

        "paging":{    

            exports: 'paging'

        }

    }

});

require(["jquery", "vue", "paging", "getConfig", "controller", "tc", "userManageController"], function(Vue) {

报错

Uncaught TypeError: $(...).Paging is not a function


在线等待


回首忆惘然
浏览 366回答 1
1回答

MMTTMM

shim:{    "paging":{            deps: ['jquery']    }}
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript