update new config to can dev as web and application desktop at same time

This commit is contained in:
Kenta420 2024-01-14 22:02:03 +07:00
parent 4032baa8ab
commit edcccaaab9
10 changed files with 6831 additions and 63 deletions

View file

@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
mode: 'web',
envPrefix: 'TAOBIN_RECIPE_MANAGER_',
plugins: [react()],
build: {
outDir: 'dist-web'
},
server: {
port: 4200
}
})