switch to vite

This commit is contained in:
Blake Blackshear
2022-03-05 22:16:31 -06:00
parent 1c9ba11e07
commit 95fe62e141
82 changed files with 4651 additions and 32812 deletions

12
web/src/main.tsx Normal file
View File

@@ -0,0 +1,12 @@
import App from './App';
import { ApiProvider } from './api';
import { render } from 'preact';
import 'preact/devtools';
import './index.css';
render(
<ApiProvider>
<App />
</ApiProvider>,
document.getElementById('app') as HTMLElement
);