init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import basicSsl from '@vitejs/plugin-basic-ssl';
|
||||
|
||||
// `basicSsl` generates a self-signed certificate so the dev server and
|
||||
// `vite preview` both serve over HTTPS out of the box.
|
||||
export default defineConfig({
|
||||
plugins: [vue(), basicSsl()],
|
||||
server: {
|
||||
host: true,
|
||||
port: 5173,
|
||||
},
|
||||
preview: {
|
||||
host: true,
|
||||
port: 4173,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user