ubaldop / vue-country-flag

Vue component for country flags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid or unexpected token

florian-lefebvre opened this issue · comments

"vue-country-flag": "^2.1.0"
"nuxt": "^2.15.4"

I get an error: Invalid or unexpected token. It was working with ^2.0.4. The error occurs because of the SSR.

Do you have any snippet to share in order to reproduce the issue?

@florian-lefebvre thanks for spotting this. Latest v2.1.1 solves the problem.

It works now, thanks !