Skip to content

Commit

Permalink
Fix redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
t11r committed Dec 13, 2023
1 parent afc17ef commit f98a087
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const routes = [
{
path: '/examples/',
redirect: '/examples/basic/',
// Required in production to prevent 404 when /examples/ is opened
component: () => import('../views/PageExampleBasic.vue'),
},
{
path: '/examples/api/',
Expand Down

0 comments on commit f98a087

Please sign in to comment.