1.0.4 • Published 3 years ago
vite-plugin-devcert v1.0.4
vite-plugin-devcert
npm i vite-plugin-devcert// vite.config.js
import devcert from 'vite-plugin-devcert';
export default {
plugins: [
devcert(),
]
};The default domain is localhost. If you want to customize it, you can set it through domain
// vite.config.js
import devcert from 'vite-plugin-devcert';
export default {
plugins: [
devcert({
domain: 'test.com'
}),
]
};If you want to pass in your own HTTPS certificate, please do so here
// vite.config.js
import devcert from 'vite-plugin-devcert';
export default {
plugins: [
devcert({
ssl: {
key: '',
cert: ''
}
}),
]
};1.0.4
3 years ago
1.0.3
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.0-beta1
3 years ago
1.0.0-beta
3 years ago