ember.js - Emberjs Routing: Page reloads on every link click -
i have ember js app, pushstate enabled. on page www.xyz.com/start
, have proper link on page (www.xyz.com/abc/def
) , have defined route in ember /abc/def
. every time click on link, page reloaded instead of directly being served ember router. correct way this?
you have use link-to helper instead of basic href links.
{{#link-to 'abc/def'}}go def{{/link-to}}
where 'abc/def' route name.
Comments
Post a Comment