Small preact-based (like React.js) project
https://inga-lovinde.github.io/static/komoot-demo/
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.
14 lines
301 B
14 lines
301 B
import { render } from 'preact';
|
|
import './style.css';
|
|
import { RoutePlanner } from './routePlanner';
|
|
|
|
export function App() {
|
|
return (<RoutePlanner />);
|
|
}
|
|
|
|
const app = document.getElementById('app');
|
|
if (app) {
|
|
render(<App />, app);
|
|
} else {
|
|
console.error('Cannot find app container');
|
|
}
|
|
|