Sonarqube scan code coverage is always 0% on Vue application and its associated .js files and tests

I have run sonar scan on Vue application and the result is always 0% code coverage. Here are the properties.

sonar.sources=.
sonar.tests=.
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.test.inclusions=/tests/unit/

Also, I would like to know how to get coverage % by scanning code other than running specific unit tests.