rsnext/test/integration/appdir-missing-config
Steven b17701372c
Add error if app detected but config is missing (#41696)
Previously, creating the `app` dir without enabling the config would
print an error about `pages` missing:

> Couldn't find a `pages` directory. Please create one under the project
root

This PR prints a better error message:

> The `app` dir is experimental. Please add `{experimental:{appDir:
true}}` to your `next.config.js` to enable it

Co-authored-by: Balázs Orbán <info@balazsorban.com>
2022-10-24 13:42:11 -07:00
..
app Add error if app detected but config is missing (#41696) 2022-10-24 13:42:11 -07:00
test Add error if app detected but config is missing (#41696) 2022-10-24 13:42:11 -07:00