Odd - create command putting file in wrong directory?
php artisan make:livewire CreatePost
COMPONENT CREATED π€
CLASS: app/CreatePost.php
VIEW: resources/views/livewire/create-post.blade.php
This is happening locally and on my development server. Any thoughts on why it would create in app directory vs. livewire?
2 Replies
Solution
maybe you changed the
class_namespace
in the livewire config file?Aha - that was it. Thanks!