Page 1 of 1

[ionic] Export HTML/CSS/JS

Posted: Thu May 05, 2016 5:54 am
by taucher

Hello,

When i export an ionic project as html/css/js, i couldn't make it work. Can you help?

Thanks,


[ionic] Export HTML/CSS/JS

Posted: Thu May 05, 2016 7:41 am
by Illya Stepanov

Hello -

Could you be more specific about how exactly it does not works?


[ionic] Export HTML/CSS/JS

Posted: Thu May 05, 2016 8:29 am
by taucher

Hello,

When i run the "index.html" in browser, nothing shows.


[ionic] Export HTML/CSS/JS

Posted: Thu May 05, 2016 12:38 pm
by Illya Stepanov

Actually to be able to run your Ionic app locally on your machine, you will need to configure environment - for example you can use node.js or WebStorm as a server and run your app.

Or for development purposes you can try to disable web security option for your browser, but this might not work for some latest browser versions:
https://www.thepolyglotdeveloper.com/...
http://stackoverflow.com/questions/31...


[ionic] Export HTML/CSS/JS

Posted: Fri May 06, 2016 4:12 pm
by taucher

Hello,

I used Ionic CLI with "ionic serve", it is working now as expected.

Thanks,