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
@@ -106,6 +106,20 @@ $panel->plugins([
106
106
]);
107
107
```
108
108
109
+
### Debug Mode Warning
110
+
111
+
You can enable a debug mode warning for every environment or just for production by using `->showDebugModeWarning()`/`->showDebugModeWarningInProduction()`
112
+
113
+
```php
114
+
use pxlrbt\FilamentEnvironmentIndicator\EnvironmentIndicatorPlugin;
115
+
use Filament\Support\Colors\Color;
116
+
117
+
$panel->plugins([
118
+
EnvironmentIndicatorPlugin::make()
119
+
->showDebugModeWarningInProduction()
120
+
]);
121
+
```
122
+
109
123
## Contributing
110
124
111
125
If you want to contribute to this packages, you may want to test it in a real Filament project:
0 commit comments