Software Archive
Read-only legacy content
17061 Discussions

how to use "ionic serve" in the XDK?

meiyu_l_
Beginner
612 Views

i want to make my app as a http server ,then invoke safari to download a mobile config file to setup APN setting.

I used ionic in UI .and find "ionic serve" can be a http server. but my problem is how to use "ionic serve" in Intel XDK?

 

0 Kudos
1 Reply
Amrita_C_Intel
Employee
612 Views

Hi,

For this you need to type this command in the command prompt:

$ ionic serve

And then go to the emulate tab in the XDK and click choose project start file or URL and then you need to give your localhost 

for example:

http://localhost:8000 ;

to see that on emulator

Else if you have HTML5 app without cordova you get option on the right hand side to run that on the web brwser

0 Kudos
Reply