-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afd81a8
commit c7559ff
Showing
9 changed files
with
179 additions
and
37 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace App\Enums\Examples\Others; | ||
|
||
class Command | ||
{ | ||
public const FIND_COMPONENT = <<<'HTML' | ||
php artisan tallstackui:find-component | ||
HTML; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,3 +1,4 @@ | ||
<x-banner :color="['background' => 'bg-pink-900', 'text' => 'text-white']" :until="now()->subDay()"> | ||
// | ||
<x-banner :color="['background' => 'bg-pink-900', 'text' => 'text-white']" | ||
:until="now()->addWeek()"> | ||
<b class="underline">Version 1.30.0 is now available!</b> Introduced a useful command to search for component usage. | ||
</x-banner> |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
@php | ||
foreach (apply_prefix($__data) as $key => $value) $$key = $value; | ||
@endphp | ||
|
||
<x-layout> | ||
<x-slot:title> | ||
Commands | ||
</x-slot:title> | ||
<x-slot:description> | ||
TallStackUI available commands. | ||
</x-slot:description> | ||
<x-section title="Introduction" disable-copy> | ||
<p> | ||
TallStackUI offers several useful commands to help during the development | ||
process of your projects that use TallStackUI. On this page we will list | ||
all the commands and their references for explanations or details. | ||
</p> | ||
</x-section> | ||
<x-section title="Setup Icons" disable-copy> | ||
<p> | ||
Command to setup icons. <a class="underline" href="{{ route('documentation.ui.icon') }}"> | ||
See the details of the command and how to use it by clicking here. | ||
</a> | ||
</p> | ||
</x-section> | ||
<x-section title="Setup Prefix" disable-copy> | ||
<p> | ||
Command to setup prefix. <a class="underline" href="{{ route('documentation.installation').'#component-prefix' }}"> | ||
See the details of the command and how to use it by clicking here. | ||
</a> | ||
</p> | ||
</x-section> | ||
<x-section title="Find Component" disable-copy new> | ||
<p> | ||
Command used to find component usages in all Blade files. | ||
</p> | ||
<x-code language="shell" :contents="$findComponent"/> | ||
<p> | ||
After running the command, you will need to select the component | ||
you want to find usages for, and then the command will list all | ||
the files that use the selected component, and also the line number | ||
where the component is used. When any occurrence is found, the output | ||
will be similar to the following: | ||
</p> | ||
<div class="flex justify-center items-center"> | ||
<img src="{{ asset('assets/images/find-component-output.png') }}" | ||
alt="Find Component Command Output"> | ||
</div> | ||
</x-section> | ||
</x-layout> |
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
Oops, something went wrong.