Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Is it possible to use id widget as js deliver sript? #62

@milos5593

Description

@milos5593

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/id@0.8.1/dist/index.min.js"></script> 

        <script type="text/javascript">
            CMS.registerWidget(Widget)
        </script>
    </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions