I just using vue3 and want to apply dynamic style. my vue3 template like:
<ul>
<li v-for="(question, q_index) in questions" :key="q_index" v-show="question.visible" :style="{padding-left: `question.level`rem}">
<Question :title="question.title" :options="question.options" :name="question.id" :visible="question.visible" @opUpdate="opHandle"/>
</li>
</ul>
there is error on my template for '-'
Uncaught SyntaxError: Unexpected token '-'
How to set dynamic padding left css style in vue3 template?