JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
<div id="map"></div>

CSS

html, body {
  height:100%;
}

div#map {
  width:100%;
  height:100%;
  border:5px solid black
}

JavaScript

ymaps.ready(init);

function init() {

	var myMap = new ymaps.Map('map', {
  		center: [60, 35],
      controls: [],
      zoom:5
  
  });
  
  myMap.behaviors.disable([
  	'drag',
    'scrollZoom'
  ]);

	ymaps.route(['Москва', 'Санкт-Петербург']).then(
    function (route) {
        myMap.geoObjects.add(route);
    },
    function (error) {
        alert('Возникла ошибка: ' + error.message);
    })

}