<template>
<div class="container">
<accordion v-for="(item, index) in typeMeasurement" :key="index" :title="item.name">
<table class="table">
<tbody class="table__body" v-html="creatTable(item.items)">
</tbody>
</table>
</accordion>
</div>
</template>
turn.onclick = function(){
this.classList.toggle('turning')
}
.turning .front {transform: rotateY(180deg);}
.turning .back {transform: rotateY(360deg);}
<div class="command" id="turn">
...
</div>