feat: add Wails runtime library and initial application setup
- Created package.json for Wails JavaScript runtime library. - Added TypeScript definitions for runtime functions. - Implemented runtime.js with event handling and logging functions. - Initialized Go module with dependencies for Wails and other libraries. - Added main.go for application entry point and asset embedding. - Configured wails.json for application settings and build commands.
This commit is contained in:
11
frontend/vite.config.ts
Normal file
11
frontend/vite.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig(async () => {
|
||||
const reactPlugin = (await import('@vitejs/plugin-react')).default
|
||||
return {
|
||||
plugins: [reactPlugin()],
|
||||
build: {
|
||||
outDir: '../frontend/dist'
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user