-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the make command to make it more inline with the package
- Loading branch information
1 parent
dde6b78
commit 7c0b9f1
Showing
3 changed files
with
116 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
stubs/controllers/controller.php.stub → stubs/components/component.php.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
<?php | ||
|
||
namespace DummyNamespace; | ||
namespace {{ namespace }}; | ||
|
||
use Livewire\Component; | ||
use Usernotnull\Toast\Concerns\WireToast; | ||
|
||
class DummyClass extends Component { | ||
class {{ className }} extends Component { | ||
|
||
use WireToast; | ||
|
||
public function mount() { | ||
|
||
} | ||
|
||
public function render() { | ||
return view('livewire.dashboard.index'); | ||
return view('livewire.{{ className }}'); | ||
} | ||
} |
File renamed without changes.