@magiclab/minds
v0.0.127
Published
MagicLab internal design system
Downloads
572
Keywords
Readme
Magiclab internal design system
Using this library
Script tag
- Put a script tag
<script src='https://unpkg.com/@magiclab/[email protected]/dist/minds/minds.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template
Node Modules
- Run
yarn add @magiclab/minds
- Import it to the project
import { applyPolyfills, defineCustomElements } from '@magiclab/minds/loader';
- Define custom elements
applyPolyfills().then(() => {
defineCustomElements(window);
});