need
After vue starts, I want it to automatically open the specified browser (Google) and set the IP address and port number to be opened
analyze
- package.json
open the package.json file plus --open chrome
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --open chrome --host localhost",
"start": "npm run dev",
"build": "node build/build.js"
},
- index.js
opens the index.js file and sets the browser to open automatically