Method 1: package.json (applicable to vue3)
Find scripts–serve in the file and add --open at the end
Method 2: vue.config.js
Find the vue.config.js file, find devServer, and add the following code open:true
Find scripts–serve in the file and add --open at the end
Find the vue.config.js file, find devServer, and add the following code open:true