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

8 lines (5 loc) 310 B
import { Element, root } from '../../index' const container = new Element('div', root, {}, true); const h1 = new Element('h1', container, { innerText: 'helo' }, true); const h2 = new Element('h2', container, { innerText: 'helo' }, true); const h3 = new Element('h3', container, { innerText: 'helo' }, true);