Open Asset Button
Add a one-click download button to single asset fields in DatoCMS
A plugin to add a one-click download button to single asset fields in DatoCMS.
Please specify a read-only DatoCMS API key on the plugin global settings:
To add a download button to a single asset field, choose "Open Asset" as a field add-on.
Install all the project dependencies with:
Add this plugin in development mode to one of your DatoCMS project with:
Start the local development server with:
Before publishing this plugin, make sure:
- you've properly described any configuration parameters in this README file;
- you've properly compiled this project's
package.jsonfollowing the official rules;
- you've added a cover image (
cover.png) and a preview GIF (
preview.gif) into the
When everything's ready, just run: