I’m trying to develop XR contents on Babylon.js Editor v4 beta8, but other devices can not access “http://:1338”. Of course my PC working BJS editor can access “http://localhost:1338”.
I modified webpack.config.js in my editor project like this.
module.exports = (_, argv) => {
mode: 'development';//added by limes
//...
// added by limes
devserver:{
host: '0.0.0.0'
},
//...
I also tried “host 0.0.0.0” option in package.json like this.
I executed the command “npx webpack-dev-server” and my iPhone and android can access “http://‘my pc IP’:3000”.
(2)
I also tried to separate part of my Babylon.js Editor project “index.html”, “scenes folder”, and “dist folder” according to the post. The network is the same as the above post.
I used “Live Server” of Visual Studio Code for the separated project. My iPhone and android can also access “http://‘my pc IP’:5500”. (“5500” is the default port setting of Live Server.)