#✅ Using Directus components in modules

10 messages · Page 1 of 1 (latest)

iron oreBOT
#

Guys, is it possible in directus modules to use components from https://github.com/directus/directus/tree/main/app/src/views/private/components , as well as components like v-input, v-badge and so on?.

Just so you know, we have moved your message here, @echo mesa. In future, please ask questions in one of the help channels as per the server rules.

@zenith cape was the person who moved it, so if there's aditional context, they will add it here for you. Your original post has been deleted.

GitHub

The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database. - directus/app/src/views/private/components at main · directus/d...

#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

zenith cape
#

Using Directus components in modules

winged coral
#

Yes, check the github Wiki for more documentation on the components

echo mesa
twin pawn
echo mesa
# twin pawn https://components.directus.io/

I apologize for the misunderstanding, but in the link I provided (from the original Directus repository on Github) https://github.com/directus/directus/tree/main/app/src/views/private .There are components such as

search-input.vue
comment-item.vue
file-preview.vue
header-bar.vue
notification-item.vue

And so on

But there are none in the provided link, there are only standard components that I know about

GitHub

The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database. - directus/app/src/views/private at main · directus/directus

twin pawn
#

I don't think it's possible to use them directly, but you could just copy the code off github

echo mesa
iron oreBOT
#

✅ Using Directus components in modules