web browser extension that helps with Developer Experience for developing UI with the new WebComponent based backoffice
- Run
npm installin the terminal at the root of this repository - Run
npm run buildornpm run watchto have the typescript files in thesrcfolder built or watched for changes- The typescript files are built and placed into the folder called
extensionwhich the browser extension will load from - rollup.js is used to compile the typescript files along with bundle any npm node_modules that are used such as Lit for WebComponent development
- The typescript files are built and placed into the folder called
- Run
npm run start:firefoxto have FireFox open with the extension loaded and monitoring any changes to the files in theextensionfolder - Run
npm run start:chromiumto have Chrome or chromium based browser open with the extension loaded and monitoring any changes to the files in theextensionfolder
flowchart
A(Browser Extension) --> |Loads manifest from root of folder| B
B(manifest.json) --> |devtools_page| C(registration.html)
C --> | HTML page simply loads registration.js | D(registration.js)
D -->|Uses browser APIs to create the DevTools pane as needed |E[Dev Tools Pane]