DEV Community

Discussion on: Nueva - new UI framework

Collapse
codingwith3dv profile image
codingwith3dv Author • Edited

Yeah
Pull it up from CDN:

<script src="https://unpkg.com/nueva@0.0.2-alpha03/build/nueva.js"></script>
Enter fullscreen mode Exit fullscreen mode

in script of html

let app = nueva.createElem("div",
  nueva.createElem("p", "Hi"),
  nueva.createElem("button", "Press me")
  );
nueva.render(app, document.getElementById("root-div"));
Enter fullscreen mode Exit fullscreen mode

That should render a text and button on the page.

Thank you