Open DedsonDev opened 1 year ago
Will try to build locally tomorrow and see if that changes things.
Hello,
You must place the index.js file inside the layouts directory.
/extensions/layouts/directus-extension-board-layout/
Or run the following command on the project root folder may work well.
I've never tried but Directus (parhaps) supports this install style.
npm install directus-extension-board-layout
It worked for me (with docker, you must mount the extensions outside the container). 1st Option
These steps worked to persist the plugin across container restarts:
docker compose exec directus -- mkdir -p /directus/extensions/layouts/board
docker compose exec directus -- npm install directus-extension-board-layout
docker compose exec directus -- cp /directus/node_modules/directus-extension-board-layout/dist/index.js /directus/extensions/layouts/board/
docker compose restart directus
Hello, first off thank you for creating this extension it's very much needed in our situation. I'm working with directus in a docker container and have added the released index.js (did not build locally) to /extensions/interfaces/directus-extension-board-layout/ and reloaded the container. The 'Board' option is not showing up in Layout Options and when you click a field, the Interfaces tab is completely empty (screenshot below).