mirror of
https://github.com/kennethnym/aris.git
synced 2026-06-12 18:41:18 +01:00
20 lines
387 B
TypeScript
20 lines
387 B
TypeScript
import tailwindcss from "@tailwindcss/vite"
|
|
import react from "@vitejs/plugin-react"
|
|
import path from "path"
|
|
import { defineConfig } from "vite"
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
server: {
|
|
host: "0.0.0.0",
|
|
port: 5174,
|
|
allowedHosts: true,
|
|
},
|
|
})
|