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
Activating "App Demo" logo should move user to home page, instead it's moving outside of app (to the root domain location). The <a> contains "/" and therefore it's moving outside, but if there will be "./" then it's fine as this points to the project root folder. How do I setup routing for project root location?
I was expecting to run homePage module when the user lands on home page as it is defined in routing config: http://ctomczyk.pl/lab/ractive/src/js/config/routes.js. Instead nothing happens. Any suggestions what's wrong there?
The header module (http://ctomczyk.pl/lab/ractive/src/js/components/header/headerViewModel.js) contains defined event handler for navToTest event, but seems it's not working while activating link "test". However, if I move it to setup function using this.on('navToTest', ...) then it works. Any suggestions why events can't be sets up using events property while initialising Ractive?
Thanks for the help.
The text was updated successfully, but these errors were encountered:
Hi,
I've prepared a demo application: http://ctomczyk.pl/lab/ractive/src/ where I can't set properly routing in any way. I was following guidelines https://www.npmjs.com/package/ps-ractive-router. Here is what's happening:
Activating "App Demo" logo should move user to home page, instead it's moving outside of app (to the root domain location). The
<a>
contains "/" and therefore it's moving outside, but if there will be "./" then it's fine as this points to the project root folder. How do I setup routing for project root location?Activating "test" link gives
This looks like the module Test doesn't contains a name, but in fact it is defined in http://ctomczyk.pl/lab/ractive/src/js/components/test/testViewModel.js (componentSettings object). Any suggestions what's wrong there?
I was expecting to run homePage module when the user lands on home page as it is defined in routing config: http://ctomczyk.pl/lab/ractive/src/js/config/routes.js. Instead nothing happens. Any suggestions what's wrong there?
The header module (http://ctomczyk.pl/lab/ractive/src/js/components/header/headerViewModel.js) contains defined event handler for
navToTest
event, but seems it's not working while activating link "test". However, if I move it tosetup
function usingthis.on('navToTest', ...)
then it works. Any suggestions why events can't be sets up usingevents
property while initialising Ractive?Thanks for the help.
The text was updated successfully, but these errors were encountered: