Get started with microbejs CDN

MIT licensed

Lightweight JS library: Microbejs for microbe research.

Tags:
  • microbe
  • microbejs
  • dom
  • javascript
  • observe
  • selector
  • engine
  • css4
  • http
  • event
  • class

Stable version

Copied!

How to start using microbejs CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with microbejs CDN - cdnhub.io</title>
  <script src="https://cdn.cdnhub.io/microbejs/0.5.2/microbe.min.js"></script>
  <script>
    // Initialize Microbe.js
    Microbe.init();

    // Define a Microbe component
    Microbe.component('myComponent', function() {
      return {
        template: '<p>Hello from myComponent!</p>',
      };
    });

    // Use the component in your HTML
    Microbe.mount('myComponent', document.querySelector('#app'));
  </script>
</head>
<body>
  <div id="app"></div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions