@proximahq-dev/sitemap
v1.2.17
Published
### Import component style at the top of the page
Keywords
Readme
How to use
Import component style at the top of the page
<link rel="stylesheet" href="https://unpkg.com/@proximahq-dev/sitemap@latest/dist/sitemap-styles.css">
Create a wrapper element to contain the component
<div id="sitemapContainer" style="height: 500px;" />
Add a script at the bottom of the body
<script src="https://unpkg.com/@proximahq-dev/sitemap@latest/dist/proxima-sitemap.umd.js"></script>
<script>
const sitemap = new ProximaSitemap({
projectSlug: 'e.g. (nikola)'
});
sitemap.init('sitemapContainer');
</script>IMPORTANT
The wrapper element MUST have a fixed height
The wrapper element MUST NOT have a fixed width
