Next.js Discord

Discord Forum

How to add the framer page to the next js app landing page

Answered
Eyebrowed Thrush posted this in #help-forum
Open in Discord
Avatar
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 ?



async rewrites() { return [ { source: '/fr/:path*', destination: 'https://unwrap.framer.website/:path*', basePath: false, }, ]; }
is thsi the only way

5 Replies

Avatar
Eyebrowed ThrushOP
The problem i am facing is for /about its working fine not for /
Avatar
Answer
Avatar
This will deploy your app under a subpath
And you can use the root path for whatever you like
Avatar
Eyebrowed ThrushOP
sure let me try