vue-clip
vue-clip copied to clipboard
TypeError: Cannot read property 'innerHTML' of undefined
I'm with this error and I do not know how to solve it, could you give me some
help?
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' } }
I solved it by creating vue.config.js on the root (where package.json is located) and putting this there
module.exports = {
runtimeCompiler: true,
};