1.0.0 • Published 4 years ago

uce-lib v1.0.0

Weekly downloads
3
License
ISC
Repository
-
Last release
4 years ago

µce-lib

A minimal boilerplate to wait for uce library.

import uce from 'uce-lib';
// const uce = require('uce-lib');
// <script src="//unpkg.com/uce">

uce.then(({define, render, html, svg, css}) => {
  // define your component here
});

All this module offers, is a way to avoid typing too much to be sure µce has been loaded.

This module does not inject µce in the page, you can still do that as part of the main bundle.

This module simply makes common µce best practice to define components a piece of cake, that never bloats code.