Reuse Vue components within the plug-in folder

Hey Kirbys!

Probably a silly question, but anyway:
If I wanted to reuse vue components inside the plugin folder, I would do something like this:

<template>

<mediapacks />

</template>
<script>

// path to another plugin component inside the /plugin folder
import mediapacks from './../../../companyname-mediaPacks/src/components/mediapacks.vue';
</script>

if i am completely wrong, or there is a better way to do this, please let me know. I haven’t done that much with vue yet.

my goal is simply not to repeat the previously written code from another plugin.

Thank you! :slightly_smiling_face: