NotFound page

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tech.admin
Posts: 16
Joined: 19 Apr 2021, 02:41

29 Oct 2021, 10:53

Hi Dear,

I placed a route rule for notFound, but it cannot jump to the whole page. What can i do?

Code: Select all

  {
    // will match everything and put it under `$route.params.pathMatch`    
    path: '/:pathMatch(.*)*',    
    name: 'notfound',
    component: () => import('./pages/NotFound.vue')
  },

tech.admin
Posts: 16
Joined: 19 Apr 2021, 02:41

29 Oct 2021, 11:13

Hi,

I found a solution.

Code: Select all

  {
    // will match everything and put it under `$route.params.pathMatch`    
    path: '/:pathMatch(.*)*',
    redirect: '/notfound'
  },

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

01 Nov 2021, 08:34

Thanks for the feedback.

Post Reply

Return to “Ultima - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest