config.js里面配置
devServer: {
https: {
key: '/home/chf/python_obj/cews/local.chenhaifeng.top.key',
cert: '/home/chf/python_obj/cews/local.chenhaifeng.top_public.crt',
},
//https: true
open: true, // opens browser window automatically
},