title: Registering vue components in Laravel package
body: <p>I have been trying very hard to register vue component in my own test package developed for laravel. I did even check laravel\horizon and some other packages but I can't figure out how to do it. I'm following <a href="https://laravelpackage.com/#reasons-to-develop-a-package" rel="nofollow noreferrer">Laravel Package Development</a></p>
  
  <p>so my package is outside my Laravel app. And my package structure is like below:</p>
  
  <pre><code>vendor
      packagename
          resources
              js
                  components
                      examplecomponent.vue
                  app.js
          AppServiceProvide.php
          package.json
          webpack.mix.js
  </code></pre>
  
  <p>For the vue component it's just the Laravel's example, and for the app.js too, basically didn't change anything because it's just for testing purpose.
  I tried to copy vue components to the resources\js\compnents with "vendor:publish" command it's copying it but still not registered in app.js.
  So the question is what is the best way of registering vue components in Laravel package or vendor? How Laravel Horizon package register it's components, I did check all the source of code of Laravel/horizon there's no command like "npm run" or copying the components and adding it in some place in the main app, it lloks like the npm is checking vendor files searching for package.json file in laravel/horizon and then register the componenets. if it's so why my vue compnents is not registered.</p>