JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<div class="wrapper">
    <input type="text" name="idTourDateDetails" id="picker" class="form-control clsDatePicker">
</div>

CSS

.wrapper {
    padding: 10px;
}

JavaScript

$('#picker').datepicker({
    format: "mm-yyyy",
    startMode: "months", 
    minViewMode: "months",
    changeMonth: true,
    changeYear: true,
    minDate: '0d',
    maxDate: '1y'
});