Skip to content

Loading the library#

Choose your favorite import method

From installed sources#

1
2
3
<script type="module">
    import { makeForm } '@simomosi/dynamic-forms';
</script>
1
const { makeForm } = require('@simomosi/dynamic-forms');

From CDN#

1
<script src = 'https://unpkg.com/@simomosi/dynamic-forms@latest'></script>
1
2
3
<script type="module">
    import { makeForm } from 'https://unpkg.com/@simomosi/dynamic-forms@latest';
</script>

Be careful to not include the library twice!