We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ff4ac commit 5565a64Copy full SHA for 5565a64
apps/docs/next.config.mjs
@@ -50,6 +50,25 @@ const config = {
50
compiler: {
51
removeConsole: process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false,
52
},
53
+ async redirects() {
54
+ return [
55
+ {
56
+ source: '/getting-started/introduction',
57
+ destination: '/',
58
+ permanent: true,
59
+ },
60
61
+ source: '/getting-started/initial-setup',
62
+ destination: '/docs/installation',
63
64
65
66
+ source: '/components/:slug',
67
+ destination: '/docs/components/:slug',
68
69
70
+ ];
71
72
};
73
74
export default withMDX(withExpo(config));
0 commit comments