I am currently working on a project that involves using both RequireJS and Vue components. One of my goals is to break down the Vue components into smaller pieces for better organization, and I want to be able to export these smaller components so they can be used by larger ones. When using standard Vue, achieving this is straightforward:
import SomeComponent from './SomeComponent.vue'
new Vue({
el: '#app',
...
components: { SomeComponent },
...
}
However, when it comes to implementing this with requireJS, I'm curious how it can be accomplished.