Перевёл сайт с vue-cli на vite #2

This commit is contained in:
Ilia Miheev
2026-07-31 23:59:23 +03:00
parent 74f6416521
commit d8e183a0e3
10 changed files with 1362 additions and 11038 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src')
}
},
server: {
port: 8080
}
})