How to run Vue.js dev serve with https?

后端 未结 7 951
孤独总比滥情好
孤独总比滥情好 2020-12-07 17:20

I\'m using Vue-cli to create vue project with webpack template. how to run it with https in development using: npm run dev?

相关标签:
7条回答
  • 2020-12-07 18:10

    In /build/webpack.dev.conf.js,to devWepackConfig in devServer, add

    https: true
    
    0 讨论(0)
提交回复
热议问题