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
| 🥰 Your Custom Theme |[Create your own Builder](./docs/custom_theme_builders.md)|
28
+
| 🥰 Your Custom Theme (`css`, `sass`, `less`, ... )|[Create your own Builder](./docs/custom_theme_builders.md)|
29
29
30
30
---
31
31
@@ -43,8 +43,6 @@ Please ensure that your Magento installation meets this requirement before insta
43
43
|`mageforge:system:version`| Shows current and latest version of the module |`system:version`|
44
44
|`mageforge:system:check`| Get system information (OS, PHP, Database, Node.js, etc.) |`system:check`|
45
45
46
-
---
47
-
48
46
## Getting Started
49
47
50
48
### Installation
@@ -93,6 +91,43 @@ Please ensure that your Magento installation meets this requirement before insta
93
91
94
92
5. Enjoy automatic CSS rebuilding as you work on your theme files!
95
93
94
+
---
95
+
96
+
### Frontend Inspector 🕵️
97
+
98
+
The **MageForge Inspector** is a powerful developer tool that allows you to inspect Magento blocks, templates, and performance metrics directly in your browser.
99
+
100
+
**Key Features:**
101
+
-**Structure Analysis**: View template paths, block classes, and module names for any element.
102
+
-**Performance Metrics**: See PHP render times and cache status (lifetime, tags).
103
+
-**Web Vitals**: Monitor LCP, CLS, and INP metrics per element.
104
+
-**Accessibility Checks**: Inspect ARIA roles, contrast ratios, and alt text.
105
+
106
+
**How to use:**
107
+
108
+
1.**Enable the Inspector in the CLI**:
109
+
```bash
110
+
bin/magento mageforge:theme:inspector enable
111
+
```
112
+
*(Note: Requires Magento Developer Mode)*
113
+
114
+
115
+
2.**Enable the Inspector in Magento Admin Settings**
116
+
You can activate the Inspector in Magento Admin under `Stores > Configuration > MageForge > Frontend Inspector`.
117
+
118
+
3.**Usage in Browser**:
119
+
-**Toggle**: Press `Ctrl+Shift+I` (Windows/Linux) or `Cmd+Option+I` (macOS).
120
+
-**Inspect**: Hover over elements to see details. Click to lock the inspector on a specific block.
121
+
122
+
To disable the inspector:
123
+
```bash
124
+
bin/magento mageforge:theme:inspector disable
125
+
```
126
+
127
+
128
+
129
+
---
130
+
96
131
## Additional Documentation
97
132
98
133
-[Advanced Usage Guide](./docs/advanced_usage.md) - Tips, tricks and troubleshooting
0 commit comments