Module not found: Error: Can't resolve 'vuelidate/lib/validators'
Closed this issue · 4 comments
ScreamZ commented
Hey,
for some reason can't import vuelidate :(
https://www.webpackbin.com/bins/-Kg9NT7oFQi1eGubcn8P
Does anyone knows why ?
Thanks
christianalfoni commented
@ScreamZ could you try importing vuelidate/lib/validators/index
? Webpackbin does not currently have logic to translate /index.js paths into directory, other than the entry point iself. Should fix that though... but yeah, please confirm :)
ScreamZ commented
@christianalfoni Was this, nice catch ;)
https://www.webpackbin.com/bins/-Kg9XqY8rVXsOoZjrR1t
(Had to make another one bin because couldn't edit mine anymore)
Thanks buddy, keep the good job :)
christianalfoni commented
Okay, I fixed so that folder/index.js
can be pointed to as folder
now as well... so your previous code should work now :)
ScreamZ commented
@christianalfoni Thanks ! ;)