#✅ how to start bundle extension

7 messages · Page 1 of 1 (latest)

arctic trellis
#

I'm new to custom extensions with directus.
I created a bundle type extension in order to put several types of extensions at the same place. unfortunately I don't see what to do with the two output files app.js and api.js which are generated after npm run dev or build... where am i supposed to place them?

tender steppeBOT
#

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.)

fathom oxide
#

It's best if you symlink the whole extension folder into your directus/extensions directory. I think there is a tool to help you do that with npm run link

arctic trellis
#

you'r right it was well referenced in my package.json

#

It should be specified in the documentation 🤔

#

anyway everything works for me thanks!!

tender steppeBOT
#

✅ how to start bundle extension