board consumed in example

This commit is contained in:
2025-10-16 12:25:52 +01:00
commit 892e85ecf5
38 changed files with 1856 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from "vite";
import tailwindcss from '@tailwindcss/vite'
import react from "@vitejs/plugin-react";
import { fileURLToPath } from "node:url";
import { dirname, resolve } from "node:path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const libSource = resolve(__dirname, "../src");
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@vimazing/vim-snake": libSource, // use source during dev
},
},
server: {
port: 5173,
open: true,
},
});