mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-05 10:17:20 +00:00
24 lines
519 B
TypeScript
24 lines
519 B
TypeScript
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import tailwind from "@tailwindcss/vite";
|
|
|
|
export default defineConfig((configEnv) => {
|
|
return {
|
|
server: {
|
|
port: 3002,
|
|
host: "0.0.0.0",
|
|
allowedHosts: true,
|
|
},
|
|
plugins: [
|
|
vue({
|
|
template: {
|
|
compilerOptions: {
|
|
// Needed to prevent hardcoded code blocks from breaking in docs
|
|
whitespace: "preserve",
|
|
},
|
|
},
|
|
}),
|
|
tailwind(),
|
|
],
|
|
};
|
|
});
|