shershen08 / vue-masonry

💠 Vue.js directive for masonry blocks layouting ✅
MIT License
673 stars 81 forks source link

Upgrade 0.13.0 -> 0.16.0 is breaking change on Nuxt 2 #139

Open snakeye opened 1 year ago

snakeye commented 1 year ago

Hello!

I have upgraded the package from 0.13 to 0.16 in the application made with Nuxt 2 and now the masonry is not working. The console shows the following error:

vue.runtime.esm.js?2b0e:4605 [Vue warn]: Failed to resolve directive: masonry-tile
vue.runtime.esm.js?2b0e:4605 [Vue warn]: Failed to resolve directive: masonry

The test project to reproduce the error is here - https://github.com/snakeye/nuxt-vue-masonry

Do I miss anything?

asamoon commented 1 year ago

vue @ 2.7.10 Nuxt @ v2.15.8 vue-masonry @ 0.16.0

some issues

[Vue warn]: Failed to resolve directive: masonry-tile
[Vue warn]: Failed to resolve directive: masonry