Skip to content

Templates and docs strategy suggestion - kitchen sink #235

@dandv

Description

@dandv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions