Installation
Integrating Mango UI is pretty simple, and can be installed with NPM or with a CDN.
CDN
The easiest way to install Mango UI is to use a CDN like jsDelivr. In your
HTML, add a link
and script
tag to load the components.
<!-- place this in your head tag --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mango-ui-components@1.0.0/dist/mango.css" /> <!-- place this at the end of your body tag --> <script src="https://cdn.jsdelivr.net/npm/mango-ui-components@1.0.0/dist/mango.js"></script>
NPM
First, install the package with
npm install mango-ui-componentsThen you can include the files with an import statement if your JavaScript builder supports that:
import 'node_modules/mango-ui-components/dist/mango.css';