JSFiddle - React, Tailwind, and code Playground
by big_smile
HTML
<input type='text' id='productsku' />
JavaScript
document.getElementById('productsku').value=location.pathname;
by big_smile
<input type='text' id='productsku' />
document.getElementById('productsku').value=location.pathname;