I pulled the most recent version of generator-backbone, ran npm link, created a new project, and then ran the following.
/.../Desktop/barn ♘ ls app/
404.html bower_components favicon.ico index.html robots.txt scripts styles
/.../Desktop/barn ♘ yo backbone:model Bar
Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to models/Bar.js not added.
create app/scripts/models/Bar.js
create test/models/Bar.spec.js
/.../Desktop/barn ♘ yo backbone:collection Barns
Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to collections/Barns.js not added.
create app/scripts/collections/Barns.js
create test/collections/Barns.spec.js
/.../Desktop/barn ♘ yo backbone:view Barns
Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to views/Barns.js not added.
create app/scripts/templates/Barns.ejs
create app/scripts/views/Barns.js
create test/views/Barns.spec.js
I pulled the most recent version of
generator-backbone
, rannpm link
, created a new project, and then ran the following.