You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { render } from 'preact';
|
|
|
|
import './style.css';
|
|
|
|
export function App() {
|
|
return <h1>Hello world</h1>;
|
|
}
|
|
|
|
const app = document.getElementById('app');
|
|
if (app) {
|
|
render(<App />, app);
|
|
} else {
|
|
console.error('Cannot find app container');
|
|
}
|
|
|