Knockout.js mapping plugin with require.js

后端 未结 3 1534
迷失自我
迷失自我 2020-12-09 04:26

What is the standard way of loading mapping plugin in require.js ?

Below is my config.js (require.js config file)

require.config({
    // Initialize         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 04:42

    On a side note, because you are using Lo-Dash you don't need to include "underscore" in the RequireJS "shim" options. Lo-Dash has AMD support baked in.

提交回复
热议问题