Cleanup aliases, remove example code, tailwind

This commit is contained in:
2024-12-13 21:19:20 -06:00
parent 13b3c29d7d
commit eb9d4cf572
14 changed files with 57 additions and 201 deletions

View File

@@ -1,7 +1,16 @@
import {defineConfig} from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const rootPath = new URL(".", import.meta.url).pathname.substring(1);
console.log({ rootPath, url: import.meta.url });
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()]
})
plugins: [react()],
resolve: {
alias: {
"@": rootPath + "src",
"@wails": rootPath + "wailsjs",
},
},
});