ko.mapping is undefined

后端 未结 1 1953
误落风尘
误落风尘 2021-01-07 21:25

im following this example http://jsfiddle.net/rniemeyer/badZb/ . I just copy and paste the exact code into a sample application and it gave me this error : \"ko.mapping is u

相关标签:
1条回答
  • 2021-01-07 21:58

    As the mapping plugin is exactly that, a plugin, it is not included in the core library.

    You need to include the mapping plugin separately. You can find it on GitHub. Just make sure you include it after including the core Knockout library.

    0 讨论(0)
提交回复
热议问题