Cannot use import statement outside a module
JulianMelzig opened this issue · comments
@JulianMelzig, did you solve the problem?
@jhta
Same here
{ src: '~/plugins/trustpilot.js' ,ssr:false }
or
{ src: '~/plugins/trustpilot.js' ,mode:'client'}
It seems to compile the code for the frontend
Same
However i got it working by transpiling vue-trustpilot.
Do this in config
transpile: [
'vue-trustpilot', ...