In Magento 1, To add the logout link we can directly write in customer.xml file.

But now we are thinking how to add logout link

Now,Let’s Start

1. Create the customer_account.xml in the path app/design/frontend/<vendor>/<theme>/Magento_Customer/layout

Now then refresh the page and check in My Account Navigation.