Migrating to v1
In v1 we are dropping support for the
/pages folder and will only be working with the
/app directory in Next.js. The migration is quite simple.
Start by upgrading Outstatic.
# npm npm install outstatic@latest # yarn yarn add outstatic@latest #pnpm pnpm install outstatic@latestbash
Then, remove the
api/outstatic folders from your
Next, you'll need to add two files to your
That's it. Start your dev server and you are good to go!