Vue.Isotope
Vue.Isotope copied to clipboard
Module not found: Error: Can't resolve 'Isotope' in vueisotope/dist
I am receiving this error when Webpack compiles
ERROR in ./node_modules/vueisotope/dist/vue_isotope.min.js
Module not found: Error: Can't resolve 'Isotope' in 'my_project/node_modules/vueisotope/dist'
@ ./node_modules/vueisotope/dist/vue_isotope.min.js 223:56-225:4
The library still works completely fine but the error prevents our CI from running.
Here is a small example of our code
<template>
<isotope v-if="list" :list="list" :options="option" ref="isotope">
<div v-for="element in list" :key="element.id">
{{ element.name }}
<br> {{ element.categories }}
</div>
</isotope>
</template>
<script>
import Isotope from 'vueisotope'
export default {
components: {
Isotope
}
}
</script>
Does anyone have any ideas?