setup electron app with boilerplate

This commit is contained in:
talksik
2026-02-19 19:41:26 -08:00
parent fc6a5e43db
commit 1f249c47a6
5174 changed files with 8743 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import { useEffect, useState } from 'react';
import { Button } from '@/components/ui/button';
import { P, H1 } from '@/components/ui/typography';
const App = () => {
useEffect(
() => {
console.log('loaded');
},
[]
);
const [state, updateState] = useState(1);
return (
<div>
<H1>Hello World!</H1>
<P>Welcome to your Electron application.</P>
<P>What is the purpose of this app</P>
<Button onClick={() => {
console.log(state);
updateState(state + 1);
}}>Click me</Button>
</div>
);
};
export default App;