You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,20 @@ $panel->plugins([
105
105
]);
106
106
```
107
107
108
+
### Debug Mode Warning
109
+
110
+
You can enable a debug mode warning for every environment or just for production by using `->showDebugModeWarning()`/`->showDebugModeWarningInProduction()`
111
+
112
+
```php
113
+
use pxlrbt\FilamentEnvironmentIndicator\EnvironmentIndicatorPlugin;
114
+
use Filament\Support\Colors\Color;
115
+
116
+
$panel->plugins([
117
+
EnvironmentIndicatorPlugin::make()
118
+
->showDebugModeWarningInProduction()
119
+
]);
120
+
```
121
+
108
122
## Contributing
109
123
110
124
If you want to contribute to this packages, you may want to test it in a real Filament project:
0 commit comments