UNPKG

nova-frontend

Version:

Nova is an alternative to all those gigantic front-end frameworks, that often do more than is necessary when it comes to building simple UIs. Pure Vanilla Javascript is performance-wise the best way to build your front-end in a SPA, but it can be hard to

12 lines (10 loc) 306 B
import { Group, Router, Element, root } from '../../index'; import { header } from './header' import { taskWrapper } from './taskWrapper'; const title = new Element('h1', root, { className: 'title', innerText: 'TO-DO'} ); const App = new Group([ title, header, taskWrapper ]) new Router('/', [App])