Run app directly in browser


#1

Hi,

is it possible to run application directly in browser, without Internet and local server? I’d like to double click in index.html.

Thanks in advance for help.


#2

If you run ember build, you get a dist folder that contains your built app. You can then view the index.html out of there directly.

But you’ll want to set locationType to “none” so that the app doesn’t try to use the URL, since “index.html” is probably not a valid route, and since none of your other routes are valid html files.


#3

Thank you for your answer.

I found https://ember-electron.js.org/

Will it be good direction?


#4

Yes, if you want to package up your app as a desktop app ember-electron is the way to go.