npm serve via https code example
Example: npm run serve https
# The package.json file, change following line to:
"serve": "vue-cli-service serve --https true",
# The package.json file, change following line to:
"serve": "vue-cli-service serve --https true",