DevTools
DevTools is a set of developer tools used to export HTML source code, display Bootstrap columns, and more.
Enabling DevTools
To enable or disable DevTools, you have the following options:
-
Set the env variable
`DEV_TOOLS`to true or false. -
Open any page with the query parameter
?dev-tools=trueor?dev-tools=false.
source code
The source code and the rendered code may not be the same. This has the following reasons:
- To fetch the source code, it's necessary to load the page with AJAX. That means the dynamic part of the source code (e.g.: ids, colors, texts etc.) may vary.
- Modifications in the rendered made with JavaScript will not affect the source code at all.
-
Add the attribute
data-jsto elements that will render content using JavaScript. Doing that the content of those HTML-Elements will be ignored by DevTools.