sahilrajput.com

Learn Vite

To serve over https with vite dev server

Source: Click here

// file: vite.config.js
import basicSsl from '@vitejs/plugin-basic-ssl'

export default {
  plugins: [
    basicSsl()
  ]
}