Initial commit
This commit is contained in:
commit
80f742675a
12 changed files with 5508 additions and 0 deletions
29
vite.config.ts
Normal file
29
vite.config.ts
Normal file
|
@ -0,0 +1,29 @@
|
|||
import { fileURLToPath, URL } from 'node:url'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
vueDevTools(),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
},
|
||||
},
|
||||
server: {
|
||||
https: {
|
||||
// key: fs.readFileSync(path.resolve(__dirname, 'localhost-key.pem')),
|
||||
// cert: fs.readFileSync(path.resolve(__dirname, 'localhost.pem')),
|
||||
key: fs.readFileSync(path.resolve("/home/phil", 'tiptop+4-key.pem')),
|
||||
cert: fs.readFileSync(path.resolve("/home/phil", 'tiptop+4.pem')),
|
||||
},
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue