Improve component auto-imports
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Feature Request
Ideally, components should be auto-imported. This varies based on the framework, but now that each framework has it's own module, we can the logic them there!
- Vue:
unplugin-vue-componentswill do the job, though I need to be able to generate the DTS file in thepreparecommand... - React: https://github.com/wxt-dev/wxt/pull/773
- Solid: https://github.com/wxt-dev/wxt/pull/773
- Svelte: Unknown
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the framework-specific modules and the prepare command mentioned in the issue, then review the linked React and Solid work for existing patterns. The remaining scope is Vue support with DTS generation and determining an approach for Svelte; done means the unchecked framework items are resolved and their auto-import behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- build-system, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100