Plugin v2 not available through CDN

Hello there,
I would like to create a plugin in vanilla javascript with the new plugin version, but the datocms-plugin-sdk accessible from unpkg is not up to date with v2. Have you planned to release a cdn for the v2?
Thanks!
Loïc

Hello @lbugnicourt

You can access it here: UNPKG - datocms-plugin-sdk

That is the most updated version of the V2 SDK

Thanks! It would be nice to have a skeleton of a html page with all imports required to make it works, as you did for plugin v1 at Legacy Plugins - SDK Reference - DatoCMS Docs
I’m having issue with lib missing such as requirejs. Do you have this?
Thanks again!

@lbugnicourt there is a template that you can generate with this command:

npx create-react-app my-first-plugin --template datocms-plugin --use-npm

Would that work for you?

thanks my issue has been fixed.

1 Like

thanks my issue has been fixed.