[feature] init vite project

This commit is contained in:
Janis
2023-06-04 15:50:48 +02:00
parent dbca028c1d
commit fb3a28fefe
34 changed files with 2786 additions and 26 deletions

16
vite.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
resolve: {
alias: {
"@": "/src",
"@components": "/src/components",
"@styles": "/src/styles",
"@assets": "/src/assets",
},
},
plugins: [react()],
})