Closed greensomes closed 1 month ago
Similar to the press-releases endpoint, start with running npx create-directus-extension@latest from the cms/src/extensions/endpoints directory.
npx create-directus-extension@latest
cms/src/extensions/endpoints
Be sure to update require statements to import, create a build script in package.json, and add the install and build step to config.yml.
require
import
build
package.json
config.yml
Done!
Similar to the press-releases endpoint, start with running
npx create-directus-extension@latest
from thecms/src/extensions/endpoints
directory.Be sure to update
require
statements toimport
, create abuild
script inpackage.json
, and add the install and build step toconfig.yml
.