Cem Kaan
Cem Kaan

Reputation: 2236

How to create Custom Interface with standard directus interfaces?

How to create a custom interface by using standard directus interfaces as a starter?

an answer in discord uses directus tarball in dependencies and a custom vue.config.js , but the rest of the import statements are still wrong.

Here is my custom interface source code:

Even If all import statements of custom interface's vue file are correct , directus-extension build can't build interface because of other import statements.

Is there a better way to use standard directus interfaces (file-image or input-rich-text) in custom interfaces?

Upvotes: 3

Views: 2772

Answers (1)

Shea Lavington
Shea Lavington

Reputation: 505

There has not been enough information to provided to help with debugging your issues with the file interface.

Documentation for building interfaces can be found in the Directus Docs. https://docs.directus.io/concepts/interfaces/#interfaces

I have created an interface for Directus that uses the image interface. Perhaps providing the link will be a useful resource to you showing you how I have personally implemented it. https://github.com/resauce-dev/directus-image-scout

Upvotes: 4

Related Questions