We want to use vue-router to create the following routes:
* If url matches the default root path, render the Posts component
* If url matches the "archive" path, render the Archive component
* Any other route should render the NotFound component
Which of the following is the correct configuration?
1. {path: '/', component: Posts},
{path: '/archive', component: Archive},
{path: '/404', component: NotFound }
2. {path: '/', component: Posts},
{path: '/archive', component: Archive},
{path: '^', component: NotFound }
3. {path: '/', component: Posts},
{path: '/archive', component: Archive},
{path: '*', component: NotFound }
4. {path: '/default', component: Posts},
{path: '/archive', component: Archive},
{path: '*', component: NotFound }