be-one-and-only
v0.0.5
Published
[![NPM version](https://badge.fury.io/js/be-one-and-only.png)](http://badge.fury.io/js/be-one-and-only) [![Playwright Tests](https://github.com/bahrus/be-one-and-only/actions/workflows/CI.yml/badge.svg?branch=baseline)](https://github.com/bahrus/be-one-a
Downloads
6
Maintainers
Readme
be-one-and-only
<template be-one-and-only="Zhou Sheng Chen">
My content
</template>
<template be-one-and-only="Zhou Sheng Chen">
My content
</template>
... only one instance is instantiated in any single Shadow DOM realm.
Viewing Locally
- Install git.
- Fork/clone this repo.
- Install node.
- Open command window to folder where you cloned this repo.
npm install
npm run serve
- Open http://localhost:3030/demo/dev in a modern browser.
Importing in ES Modules:
import 'be-one-and-only/be-one-and-only.js';
CDN
import 'https://esm.run/be-one-and-only';