D8 embed a view in template

// Render a template file
$twig = Drupal::service(‘twig’);
$view_content = views_embed_view(‘your view name’, ‘block_1’);
$template = $twig->loadTemplate(‘/templates/your_block.html.twig’);
$build[‘your_block’][‘#markup’] = $template->render([‘view_content’ => $view_content]);
return $build;

in your twig template u can embed view as follow

{{ view_content }}
Drupal version: 


Source: https://www.drupal.org/taxonomy/term/2/feed