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

Could not resolve './Deselect' #7

Closed
mquevedob opened this issue Jan 4, 2022 · 1 comment
Closed

Could not resolve './Deselect' #7

mquevedob opened this issue Jan 4, 2022 · 1 comment

Comments

@mquevedob
Copy link

hi all

I just wanted to point out that when using JigSelect component you get this error

Could not resolve './Deselect'

the way to resolve it is to modify the file childComponents.js by adding the extension .vue to the files in the import lines

so instead of

import Deselect from './Deselect'
import OpenIndicator from './OpenIndicator'

it should be

import Deselect from './Deselect.vue'
import OpenIndicator from './OpenIndicator.vue'

i found this solution here
https://gitmemory.cn/@clawes

regards
Martin

@coolsam726
Copy link
Contributor

Hi @mquevedob ,

Actually the correct solution (Instead of modifying the npm library directly) is to update JigSelect.vue and InfiniteSelect.vue under JigComponents and ensure that vueSelect is being imported from vue-select instead of vue-select/src/index. I have done a PR to resolve this issue once and for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants