Page 1 of 1

Multi page app - refrencing another page from Evothings index.html

Posted: 01:17, 03 Mar 2016
by suberri
It seems that all your examples are single page app (index.html) only.
Assuming I have an app with two pages: index.html and secondPage.html.
How do I reference the second page that in my Evothings workbench project.

For example the following line is in index.html file:

<a class="click-me" href=" What do I put here to display the secondPage.html page? ">Let's do it</a>

Re: Multi page app - refrencing another page from Evothings index.html

Posted: 06:59, 03 Mar 2016
by suberri
I found the following post https://evothings.com/develop-your-iot-app-using-ionic-framework-and-evothings-studio/
and downloaded the Ionic examples.
However all the examples are still having a single index.html page.

I did not see any example where another page is loaded using the framework.

Please advise

Thanks

Re: Multi page app - refrencing another page from Evothings index.html

Posted: 22:00, 05 Mar 2016
by alex
My hunch is that it's very straight-forward; copy the index.html page and call it "another-page.html" or whatever you like.
Then add links like any page on the web, e.g.

Code: Select all

<a href="another-page.html">Go to the next page</a>
. You see, Evothings is plain html, and
if you use a specific javascript client-side framework, then follow instructions in that framework's documentation!

best

Alex