JSFiddle - React, Tailwind, and code Playground

by mofle

HTML

<ul>
    <li id="test">test</li>
</ul>

JavaScript

console.log( $('li#test').outerWidth() );