JSFiddle - React, Tailwind, and code Playground
HTML
<ol>
<li>Пункт
<ul>
<li>Подпункт</li>
<li>Подпункт</li>
<li>Подпункт</li>
</ul>
</li>
<li>Пункт
<ul>
<li>Подпункт</li>
</ul>
</li>
</ol>
CSS
ul li {
list-style-type: none;
}
ul li:before {
content: "- ";
}
ol{
list-style-type: none;
counter-reset: item;
}
ol>li:before {
content: counter(item) ') ';
counter-increment: item;
}