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
Inspired by #224, I would like to suggest creating an "everything" / kitchen-sink TypeScript example template for the latest version of each of the front-end libraries listed at https://github.com/extension-js/extension.js?tab=readme-ov-file#web-standards-and-modern-javascript-support (React 19, Vue 3, Svelte 5, Preact 10), and documentation on how components (new tab, background script, action, content, side panel) are wired up, so other contributors can remove them individually.
That I think would be the fastest way to get started with writing cross-browser extensions, and would enable others to contribute slimmed down versions easily (e.g. "TypeScript Svelte Content + Background only"), if that would still be viewed as useful.
Eventually example create could ask wizard-style Y/N questions about the inclusion of each component, but the bundling and transpiling and wiring up part is the magic that needs to be spelled out.
The text was updated successfully, but these errors were encountered:
and these templates would be more complete and offer a closer match to other standalone browser extension templates like the ones mentioned in #224
I'm going to check out the errors in the current Svelte template so we can better support it but more than happy to review the new kitchen-sink framework templates
Once Svelte is upgraded to the latest, I can take a stab at a progressively-filled :) kitchen sink template for it, starting with new tab, content script, background, and options pages. Cross-browser support is important for me too.
Inspired by #224, I would like to suggest creating an "everything" / kitchen-sink TypeScript example template for the latest version of each of the front-end libraries listed at https://github.com/extension-js/extension.js?tab=readme-ov-file#web-standards-and-modern-javascript-support (React 19, Vue 3, Svelte 5, Preact 10), and documentation on how components (new tab, background script, action, content, side panel) are wired up, so other contributors can remove them individually.
That I think would be the fastest way to get started with writing cross-browser extensions, and would enable others to contribute slimmed down versions easily (e.g. "TypeScript Svelte Content + Background only"), if that would still be viewed as useful.
Eventually
example create
could ask wizard-style Y/N questions about the inclusion of each component, but the bundling and transpiling and wiring up part is the magic that needs to be spelled out.The text was updated successfully, but these errors were encountered: