vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.79k stars 1.19k forks source link

appDir: true is need? #257

Open ttizze opened 8 months ago

ttizze commented 8 months ago

this project use next13.4 and this version support app router,right?

why need this?

` /* @type {import('next').NextConfig} / const nextConfig = { reactStrictMode: true, experimental: { appDir: true, serverActions: true } };

module.exports = nextConfig; `

ajayvignesh01 commented 8 months ago

No it’s not needed.

and starting with Next 13.5.7, you likely won’t need this either: “serverActions: true”