feat: update backend

This commit is contained in:
yanghao05
2025-04-01 16:21:43 +08:00
parent 473f9d8e31
commit f696dfdfe8
17 changed files with 1958 additions and 43 deletions

View File

@@ -1,8 +1,20 @@
import tailwindcss from '@tailwindcss/vite'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import { defineConfig } from 'vite';
// https://vite.dev/config/
export default defineConfig({
plugins: [vue(), tailwindcss()],
})
plugins: [
vue(),
tailwindcss(),
],
resolve: {
alias: {
'@': resolve(__dirname, 'src')
}
},
server: {
port: 3000,
open: true
}
});