module.exports = { reactStrictMode: true, //global title env: { appName: 'yusup.com', }, //Route async rewrites() { return [ { source: '/login', //link destination: '/auth/login', //Lokasi File }, { source: '/register', destination: '/auth/register', } ] } } //Pemakaian global title <Layout title={process.env.appName}> //Tanpa di import <div></div> </Layout
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter