vue Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' · Issue #6 · darrynten/vue-adsense

The code is ok. However you can mix require and export. You can&#39;t mix import and module.exports. In your main.js replace this: import VueAdsense from &#39;./VueAdsense.vue&#39; module.exports =...