You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8. Create a new file inside the client->parties->controllers folder called 'partiesList.js'. Cut the code for the PartiesListCtrl from app.js and place it in there.
109
109
9. Create a new file inside the client->parties->controllers folder called 'partyDetails.js'. Cut the code for the PartyDetailsCtrl from app.js and place it in there.
110
110
10. Move index.html into the 'client' folder.
111
-
11. Move parties-list.html and party-details.html into the client->parties->views folder.
111
+
11. Move parties-list.tpl and party-details.tpl into the client->parties->views folder.
112
+
12. Update the templateUrl in the routes to our templates to - templateUrl: 'client/parties/views/party-details.tpl' and templateUrl: 'client/parties/views/parties-list.tpl'
113
+
112
114
113
115
As you can see, everything is still working as before.
114
116
We haven't needed to change any references in index.html like other frameworks. Meteor just takes care of all this.
0 commit comments