Vue.js app not working in browser preview

preview
workspace
nodejs

#1

I’m running a vue.js app on c9, when running “npm run dev” the app is running in the terminal and displays the following message: “Your application is running here: http://localhost:8080

When opening the app in browser preview it doesn’t work and says: “No application seems to be running here!”

Adding “:8080” at the end of the URL also doesn’t work.

Thank you in advance for you help.


#2

Solved :smile:

Changed the package.json file to:

"dev": "webpack-dev-server --inline --progress --port 8080 --host 0.0.0.0 --config build/webpack.dev.conf.js --public $C9_HOSTNAME",