How to add the framer page to the next js app landing page
Answered
Eyebrowed Thrush posted this in #help-forum
Eyebrowed ThrushOP
I have designed the landing page in the framer.app and my rest of the website is in the next js i want to add that page to the next js website how i can ?
is thsi the only way
async rewrites() {
return [
{
source: '/fr/:path*',
destination: 'https://unwrap.framer.website/:path*',
basePath: false,
},
];
}
is thsi the only way
Answered by Clown
You can make use of this
https://nextjs.org/docs/app/api-reference/next-config-js/basePath
https://nextjs.org/docs/app/api-reference/next-config-js/basePath
5 Replies
Eyebrowed ThrushOP
The problem i am facing is for /about its working fine not for /
You can make use of this
https://nextjs.org/docs/app/api-reference/next-config-js/basePath
https://nextjs.org/docs/app/api-reference/next-config-js/basePath
Answer
This will deploy your app under a subpath
And you can use the root path for whatever you like
Eyebrowed ThrushOP
sure let me try