Answers for "vue setup https"

0

vue setup https

const fs = require('fs')

module.exports = {
    devServer: {
        https: {
          key: fs.readFileSync('./certs/example.com+5-key.pem'),
          cert: fs.readFileSync('./certs/example.com+5.pem'),
        },
        public: 'https://localhost:8080/'
    }
}
Posted by: Guest on June-16-2021

Browse Popular Code Answers by Language