slovocast/frontend/src/index.ts

14 lines
257 B
TypeScript

import m from 'mithril';
import UserList from './components/UserList';
const App = {
view: function() {
return m('body', [
UserList
]);
}
}
//@ts-ignore This will be rendered and run on the DOM of a web page
m.mount(document.body, App);