Skip to content

web browser extension that helps with Developer Experience for developing UI with the new WebComponent based backoffice

Notifications You must be signed in to change notification settings

umbraco/Umbraco.DevTools

Repository files navigation

Umbraco.DevTools

web browser extension that helps with Developer Experience for developing UI with the new WebComponent based backoffice

Browser Extension Stores

Developing

  • Run npm install in the terminal at the root of this repository
  • Run npm run build or npm run watch to have the typescript files in the src folder built or watched for changes
    • The typescript files are built and placed into the folder called extension which 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
  • Run npm run start:firefox to have FireFox open with the extension loaded and monitoring any changes to the files in the extension folder
  • Run npm run start:chromium to have Chrome or chromium based browser open with the extension loaded and monitoring any changes to the files in the extension folder

How it works

Registering DevTools Pane

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]
Loading

About

web browser extension that helps with Developer Experience for developing UI with the new WebComponent based backoffice

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published