-
|
If you have a website that you want to show as an extension (or parts / componengts of it or whatever), I AFAIK see no docs explaining the best practices. Especially as wxt seem to be opinionated about the project structure this may easily lead to clashes... ContextI am building a little website. Coming from that initial website that is basically just storing data I thought we need to store/sync data and thus "converted" it into a WebExtension for data storage via Anyway, the more generic question is: If you have an existing website, how to best transform it respectively use it's code (Vue components etc:) to add a SearchI saw the page "Migrate to WXT", but essentially, it's docs about migrating from an existing extension. (BTW, it does not mention this. Aka it does not say what the migration guide covers = what the source of the migration is.) So this doe snot really apply to websites, apparently. ProblemsI tried with LLM help and it kinda works, but:
Example project: https://github.com/rugk/gzgtracker (commit adding website using browser, commit merging package.json and different build-roots together) Essentially I am asking for a best practice here... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's an example, but it's quite old: https://github.com/anime-skip/player It has a shared package, Note that I am consuming the player package as an NPM package, it is built to JS and |
Beta Was this translation helpful? Give feedback.
There's also an official example for using turbo: https://github.com/wxt-dev/examples/tree/main/examples/monorepo-turbo