vue-clip icon indicating copy to clipboard operation
vue-clip copied to clipboard

TypeError: Cannot read property 'innerHTML' of undefined

Open xtsolucoes opened this issue 7 years ago • 2 comments

I'm with this error and I do not know how to solve it, could you give me some screen shot 2018-08-16 at 11 04 15 help?

xtsolucoes avatar Aug 16 '18 14:08 xtsolucoes

i also encountered same error. btw i am using NuxtJS so to resolve this i have added below code to nuxt.config.js file. This is not recommended but it will work :)

build: { extend(config) { config.resolve.alias['vue'] = 'vue/dist/vue.common' } }

sufyan297 avatar Mar 14 '19 05:03 sufyan297

I solved it by creating vue.config.js on the root (where package.json is located) and putting this there

module.exports = {
  runtimeCompiler: true,
};