- klonen
.env.local
anlegen und auf eigene Umgebung anpassenVUE_APP_STANDALONE_REMOTE_HOST=http://exmaple.org/my-subpath-to-redaxo-root/redaxo/index.php?page=debug VUE_APP_STANDALONE_REMOTE_PATH=/my-subpath-to-redaxo-root/redaxo/index.php?page=structure&rex-api-call=debug&request=
vue.config.local.js
anlegen und den Host der REDAXO Installation angebenmodule.exports = { "devServer": { "proxy": 'http://example.org' } }
yarn
odernpm install
ausführenyarn serve
odernpm run serve
ausführen
Die Änderungen müssen im branch redaxo
(dieses Repo) verfügbar sein.
$ cd redaxo/src/addons/debug/fronted/
$ ./build.sh
(Wichtig: das Skript build.sh
nicht außerhalb des frontend
Ordners ausführen, da sonst die Pfadangaben nicht passen)
Um das neu kompilierte Frontend auszuprobieren einmal das Debug-AddOn reinstallieren, damit die Assets in den /assets
Ordner kopiert werden.
- "bullhorn toggle" in performance tab entfernt - closes #3524
- workaround zum Verstecken der "unformatierten" Whats-new Anzeige entfernt und die Anzeige komplett deaktiviert
- im "Extension Point"-Tab werden die Ausgaben z.B. subject gekürzt dargestellt. Beim Klick wird der komplette Inhalt angezeigt. Zeigt besonders Wirkung bei
OUTPUT_FILTER
Clockwork is a development tool for PHP available right in your browser. Clockwork gives you an insight into your application runtime - including request data, performance metrics, log entries, database queries, cache queries, redis commands, dispatched events, queued jobs, rendered views and more - for HTTP requests, commands, queue jobs and tests.
This repository contains the client application component of Clockwork.
Check out on the Clockwork website for details.
Clockwork browser extension can be installed from official distribution channels:
The server-side component also includes a full copy of the Clockwork app available at your.app/clockwork
.
Clockwork uses a server-side component, that gathers all the data and easily integrates with any PHP project, including out-of-the-box support for major frameworks.
Read the full installation guide on the Clockwork website.
Use npm run serve
to run a development server with hot reloading.
It might be useful to force a specific server-side url when running the development server. This can be done by creating a .env.development
file:
VUE_APP_STANDALONE_REMOTE_HOST=http://127.0.0.1:8000
VUE_APP_STANDALONE_REMOTE_PATH=__clockwork/
The Clockwork app can be build for following targets:
npm run build-chrome
- build Chrome extension indist/chrome
npm run build-firefox
- build Firefox extension indist/firefox
npm run build-edge
- build Edge extension indist/edge
npm run build-web
- build standalone web application indist/web
To make a development build with source-maps append -dev
to the target, eg. build-chrome-dev
.