Use livewire inside laravel package development

While using livewire inside laravel we have cool commands to generate components. I want to develop laravel package which have its own views and inside that views I want to use livewire components.

How to generate livewire components inside package development should I create manually classes and views then how they link each other? After creating livewire components I want to use inside package views.

Thanks

Hey, @dz-touqeer-asad
Take a look at these threads :

Thank you for your response. One thing which one is still confusing me is that in laravel framework we execute command to generate livewire component.

In this scenario command does not work to generate component should we create class and view separately and both view and class linked to each other.