简体   繁体   中英

does jxcore package for node.js lauch the app in browser

i have created windows application using jxcore and mean stack. The executable file works fine and pages are also getting displayed properly. The problem is everytime i have to go to browser and open the localhost:2000 to launch the app. jxcore package runs only the node server but not the browser. Is this the nature of jxcore or i have missed something while creating jxcore executable.

yes, it is the nature of jxcore, in the same way as node.js. one of the simplest way is using node-open: https://www.npmjs.com/package/open .

you can also try project previously known as "node-webkit" ( http://nwjs.io/ ), that allows creating browser together with node code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM