Pop all views

How can I achieve to “pop” all views which are “stacked” ?

Situation:

When I click on a button a view is “pushed” ($router.push({name: 'xx'})) and in this view is another button which “pushes” the next view.
At the end I want to go back to the initial view redirected but without “push” because otherwise the animation will act as a “view stack” and not as “all back to start”.
I hope it is clear what I am trying to describe.

So how can I “pop” all views stacked so far (Back button available in the toolbar)?