Closed dinogomez closed 3 years ago
<vue-typed-js :strings="['word1', '<span class='text-white'>/</span>', '<span class='text-darkgrey text-mono my-2'>word2</span>' ]" :loop="true" :contentType='html'> <span class="typing"></span> </vue-typed-js>
Solved it by removing the " ' " single quotes from the tag so <span class='text-white'>/</span> became <span class=text-white>/</span> and it worked.
<span class='text-white'>/</span>
<span class=text-white>/</span>
<vue-typed-js :strings="['word1', '<span class='text-white'>/</span>', '<span class='text-darkgrey text-mono my-2'>word2</span>' ]" :loop="true" :contentType='html'> <span class="typing"></span> </vue-typed-js>