Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated imports vue and vueuse #297

Open
woldtwerk opened this issue Nov 20, 2023 · 0 comments
Open

Duplicated imports vue and vueuse #297

woldtwerk opened this issue Nov 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@woldtwerk
Copy link
Contributor

Environment

node20

Reproduction

https://codesandbox.io/p/sandbox/focused-haslett-ttp84n?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clp6po45e00082v6bitniks05%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clp6po45d00032v6bz5o2ju4m%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clp6po45d00052v6bpfk8cfu1%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clp6po45d00072v6bzrez3vr0%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clp6po45d00032v6bz5o2ju4m%2522%253A%257B%2522id%2522%253A%2522clp6po45d00032v6bz5o2ju4m%2522%252C%2522activeTabId%2522%253A%2522clp6pqrnb00s42v6b1jr2xlem%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp6po45d00022v6btgge2w19%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252FREADME.md%2522%257D%252C%257B%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fvite.config.ts%2522%252C%2522id%2522%253A%2522clp6pot4f008c2v6b9x1z0cxt%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Fcomponents%252FHelloWorld.vue%2522%252C%2522id%2522%253A%2522clp6pqrnb00s42v6b1jr2xlem%2522%252C%2522mode%2522%253A%2522temporary%2522%257D%255D%257D%252C%2522clp6po45d00072v6bzrez3vr0%2522%253A%257B%2522id%2522%253A%2522clp6po45d00072v6bzrez3vr0%2522%252C%2522activeTabId%2522%253A%2522clp6pq0dt00od2v6biw7r573y%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp6po45d00062v6bl0wsi81d%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522npm%2520run%2520dev%2522%252C%2522port%2522%253A5174%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522npm%2520run%2520dev%2522%252C%2522port%2522%253A5173%252C%2522id%2522%253A%2522clp6pq0dt00od2v6biw7r573y%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%257D%252C%2522clp6po45d00052v6bpfk8cfu1%2522%253A%257B%2522id%2522%253A%2522clp6po45d00052v6bpfk8cfu1%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp6po45d00042v6bw51w8mjm%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522npm%2520run%2520dev%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clp6po45d00042v6bw51w8mjm%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A20.546875%257D

Describe the bug

When using vue and vueuse presets you get duplicated imports:

Duplicated imports "toRef", the one from "vue" has been ignored and "@vueuse/core" is used
Duplicated imports "toValue", the one from "vue" has been ignored and "@vueuse/core" is used

Should this be addressed in the preset? Can this be resolved via config?

Additional context

No response

Logs

Duplicated imports "toRef", the one from "vue" has been ignored and "@vueuse/core" is used
Duplicated imports "toValue", the one from "vue" has been ignored and "@vueuse/core" is used
@manniL manniL added the enhancement New feature or request label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants