I want to add a dynamic and a static class to an element. The following code doesn't work.
var string = 'hugo';
<div v-bind:class="{ staticClass: true, dynamicClass: string }">
    {{ string }}
</div>
This is the expected output I would like to accomplish.
<div class="staticClass hugo">hugo</div>
What I get instead is the following
<div class="staticClass dynamicClass">hugo</div>
Thank you very much in advance.


