[Vuejs]-Can't insert submodule Vue.js

0πŸ‘

I figured why. In vue.js even if 2 files are in the same directory ./ is necessary. Now, it worked.
contentmodal: require(β€˜./modalcontent.vue’)

0πŸ‘

The issue here is on the webpack loaders. It tries to look from libraries if the path is not preceded with β€˜./’ or β€˜../’.

Leave a comment