demo_network_visjs/script.tsx

13 lines
180 B
TypeScript
Raw Normal View History

2024-01-23 14:13:26 +01:00
import { h, render } from 'preact'
import { App } from './client/app.tsx'
window['h'] = h
declare global {
interface Window {
h: typeof h
}
}
render(<App />, document.body)