I accidentally deleted my default frontpage view I was using on a Drupal 8 site, and I can't find how to either recreate it or which path to set on a new view to have it as front page.
How can I achieve this?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI accidentally deleted my default frontpage view I was using on a Drupal 8 site, and I can't find how to either recreate it or which path to set on a new view to have it as front page.
How can I achieve this?
You can recreate new view with any path and then just make it your default front page.
Steps:
Follow this link for proper steps with images.
Find the file /core/modules/node/config/optional/views.view.frontpage.yml
Next import its content by pasting this at /admin/config/development/configuration/single/import