javargasm / directus-extensions

Collection of Directus extensions

Home Page:https://nerkarso.github.io/directus-extensions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banner

Directus Extensions

Collection of Directus extensions.

Installation

  1. Open the terminal in your Directus project.
  2. Install the extension:
npm install directus-extension-<extension-name>

Creating

The easiest way to start developing extensions is to use the create-directus-extension utility:

npx create-directus-extension

After specifying the name of the extension, the type of the extension and the programming language you want to use, the utility will create a folder with the recommended file structure to create an extension.

Developing

Use the watch script when developing your extension because it rebuilds your source code whenever a file has changed.

npm run watch

Building

Before your extension can be used by Directus, it has to be built. If you used the create-directus-extension utility to scaffold your extension, building your extension is as easy as running:

npm run build

Publishing

  1. Increment the version number in the package.json file.

  2. Build the package:

npm run build
  1. Publish the package:
npm publish --access=public

About

Collection of Directus extensions

https://nerkarso.github.io/directus-extensions/


Languages

Language:TypeScript 90.4%Language:Vue 5.2%Language:JavaScript 2.8%Language:CSS 1.6%