diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-12 15:52:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 15:52:26 +0100 |
commit | ad97d4350c55055c3fcf084915a0a067c09939da (patch) | |
tree | 885baa92f3aa0a50ef0e5226e89aaabe7296ad8f /bskyembed/src/main.tsx | |
parent | 24bd3d6986a8080a34836b34ee1dbd88357d1cb5 (diff) | |
download | voidsky-ad97d4350c55055c3fcf084915a0a067c09939da.tar.zst |
[Embeds] Create vite project and add to build pipeline (#3448)
* add bskyembed vite app * create build script (temp until embedr is ready)
Diffstat (limited to 'bskyembed/src/main.tsx')
-rw-r--r-- | bskyembed/src/main.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bskyembed/src/main.tsx b/bskyembed/src/main.tsx new file mode 100644 index 000000000..349f0ee78 --- /dev/null +++ b/bskyembed/src/main.tsx @@ -0,0 +1,9 @@ +import './index.css' + +import {h, render} from 'preact' + +import {App} from './app' + +const root = document.getElementById('app') +if (!root) throw new Error('No root element') +render(<App />, root) |