Backbone.js singular Models not in collection

后端 未结 2 1475
慢半拍i
慢半拍i 2021-02-19 21:57

Being new to Backbone.js, just wanted to clarify the correct way to go about this simple task.

Developing a web app, almost always, you\'ll have user accounts, where use

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-19 22:38

    If you want a model / view with no collection, don't write a collection or collection view.

    Add the view the same way you normally see the collection based view added.

提交回复
热议问题