Open justinbmeyer opened 6 years ago
From: https://github.com/canjs/can-route/issues/160
I think we should change our docs (maybe bitballs) to show an app setup more like:
import {route, DefineMap} from "can"; AppVM = DefineMap.extend("AppVM", { routeData: { // Perhaps in 5.0, we should make this the default route data? Default: DefineMap.extend({seal: false},{}) }, init: function(){ route.data = this.routeData; route.start(); }, ... })
From: https://github.com/canjs/can-route/issues/160
I think we should change our docs (maybe bitballs) to show an app setup more like: