@pixielabs/directus-extension-blurhash
v1.0.0
Published
Requires Directus 10. May work on Directus 9 with some tweaking, YMMV.
Downloads
46
Maintainers
Readme
Requires Directus 10. May work on Directus 9 with some tweaking, YMMV.
Setup
npm i @pixielabs/directus-extension-blurhash --save
. A post-install script will add a migration to yourextensions/migrations
folder.- Restart your Directus app if necessary.
Development
$ npm i --ignore-scripts
$ npm run dev
In another terminal, go to your directus installation and:
Copy the migration from this folder
Use
wml
to auto-copy changes during dev (a symlink stops Node from resolving our Sharp dependency).wml add path/to/@pixielabs/directus-extension-blurhash node_modules/@pixielabs/directus-extension-blurhash # Accept the defaults wml start
If
wml start
does nothing, check this issue for a fix.Start Directus (
npx directus start
)