GrapesJS / components-navbar

Simple navbar component for the GrapesJS editor
BSD 3-Clause "New" or "Revised" License
35 stars 48 forks source link

Uncaught TypeError: r is not a function #4

Closed xguojiang closed 1 year ago

xguojiang commented 1 year ago

Why do I get an error when I reference this plugin, I had this problem when I was using it,

Uncaught TypeError: r is not a function at grapesjs:2:979994 at Array.forEach () at Object.init (grapesjs:2:979845) at (index):20:23

Love your plugin and you're doing a great job,Looking forward to your reply. Thank you very much,

xguojiang commented 1 year ago
I changed the incoming resource to       <script src="https://unpkg.com/grapesjs-navbar"></script>

And that settles it