File tree Expand file tree Collapse file tree 3 files changed +26
-26
lines changed
fluxui-free/skill/fluxui-development
fluxui-pro/skill/fluxui-development Expand file tree Collapse file tree 3 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 55metadata:
66 author: laravel
77---
8+ @php
9+ /** @var \Laravel\Boost\Install\GuidelineAssist $assist */
10+ @endphp
811# Flux UI Development
912
1013## When to Apply
2730
2831Use Flux UI components when available. Fall back to standard Blade components when no Flux component exists for your needs.
2932
30- <!-- Basic Button -->
31- ``` blade
33+ @boostsnippet (" Basic Button" , " blade" )
3234<flux:button variant =" primary" >Click me</flux:button >
33- ```
35+ @endboostsnippet
3436
3537## Available Components (Free Edition)
3638
4042
4143Flux includes [Heroicons](https://heroicons.com/) as its default icon set. Search for exact icon names on the Heroicons site - do not guess or invent icon names.
4244
43- <!-- Icon Button -->
44- ``` blade
45+ @boostsnippet (" Icon Button" , " blade" )
4546<flux:button icon =" arrow-down-tray" >Export</flux:button >
46- ```
47+ @endboostsnippet
4748
4849For icons not available in Heroicons, use [Lucide](https://lucide.dev/). Import the icons you need with the Artisan command:
4950
5051```bash
51- php artisan flux:icon crown grip-vertical github
52+ {{ $assist -> artisanCommand ( ' flux:icon crown grip-vertical github' ) } }
5253```
5354
5455## Common Patterns
5556
5657### Form Fields
5758
58- <!-- Form Field -->
59- ``` blade
59+ @boostsnippet (" Form Field" , " blade" )
6060<flux:field >
6161 <flux:label >Email</flux:label >
6262 <flux:input type =" email" wire:model =" email" />
6363 <flux:error name =" email" />
6464</flux:field >
65- ```
65+ @endboostsnippet
6666
6767### Modals
6868
69- <!-- Modal -->
70- ``` blade
69+ @boostsnippet (" Modal" , " blade" )
7170<flux:modal wire:model =" showModal" >
7271 <flux:heading >Title</flux:heading >
7372 <p >Content</p >
7473</flux:modal >
75- ```
74+ @endboostsnippet
7675
7776## Verification
7877
Original file line number Diff line number Diff line change 55metadata:
66 author: laravel
77---
8+ @php
9+ /** @var \Laravel\Boost\Install\GuidelineAssist $assist */
10+ @endphp
811# Flux UI Development
912
1013## When to Apply
2831
2932Use Flux UI components when available. Fall back to standard Blade components when no Flux component exists for your needs.
3033
31- <!-- Basic Button -->
32- ``` blade
34+ @boostsnippet (" Basic Button" , " blade" )
3335<flux:button variant =" primary" >Click me</flux:button >
34- ```
36+ @endboostsnippet
3537
3638## Available Components (Pro Edition)
3739
4143
4244Flux includes [Heroicons](https://heroicons.com/) as its default icon set. Search for exact icon names on the Heroicons site - do not guess or invent icon names.
4345
44- <!-- Icon Button -->
45- ``` blade
46+ @boostsnippet (" Icon Button" , " blade" )
4647<flux:button icon =" arrow-down-tray" >Export</flux:button >
47- ```
48+ @endboostsnippet
4849
4950For icons not available in Heroicons, use [Lucide](https://lucide.dev/). Import the icons you need with the Artisan command:
5051
5152```bash
52- php artisan flux:icon crown grip-vertical github
53+ {{ $assist -> artisanCommand ( ' flux:icon crown grip-vertical github' ) } }
5354```
5455
5556## Common Patterns
5657
5758### Form Fields
5859
59- <!-- Form Field -->
60- ``` blade
60+ @boostsnippet (" Form Field" , " blade" )
6161<flux:field >
6262 <flux:label >Email</flux:label >
6363 <flux:input type =" email" wire:model =" email" />
6464 <flux:error name =" email" />
6565</flux:field >
66- ```
66+ @endboostsnippet
6767
6868### Tables
6969
70- <!-- Table -->
71- ``` blade
70+ @boostsnippet (" Table" , " blade" )
7271<flux:table >
7372 <flux:table .head >
7473 <flux:table .row >
7574 <flux:table .cell >Name</flux:table .cell >
7675 </flux:table .row >
7776 </flux:table .head >
7877</flux:table >
79- ```
78+ @endboostsnippet
8079
8180## Verification
8281
Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ protected function collectInstallationPreferences(): void
119119
120120 protected function performInstallation (): void
121121 {
122+ app ()->instance (GuidelineConfig::class, $ this ->buildGuidelineConfig ());
123+
122124 if ($ this ->selectedBoostFeatures ->contains ('guidelines ' )) {
123125 $ this ->installGuidelines ();
124126 }
You can’t perform that action at this time.
0 commit comments