netlify-cms-widgets
netlify-cms-widgets copied to clipboard
Is it possible to use id widget as js deliver sript?
I am trying to include id widget as a js deliver script, but I get exports is not defined in the console.
Here is my code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the script that enables Netlify Identity on this page. -->
<!-- <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> -->
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@ncwidgets/[email protected]/dist/index.min.js"></script>
<script type="text/javascript">
CMS.registerWidget(Widget)
</script>
</body>
</html>