Skip to content

Commit

Permalink
Update code block in Next.js guide (#7079)
Browse files Browse the repository at this point in the history
  • Loading branch information
beerose authored Mar 19, 2024
1 parent e18b380 commit bca7546
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/guides/tutorials/nextjs_app_router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,20 @@ We're going to build a simple blog application with
`Next.js <https://nextjs.org/>`_ and EdgeDB. Let's start by scaffolding our
app with Next.js's ``create-next-app`` tool.

.. code-block:: bash
$ npx create-next-app@latest
You'll be prompted to provide a name (we'll use ``nextjs-blog``) for your
app and choose project options. For this tutorial, we'll go with the
recommended settings including TypeScript, App Router, and
**opt-ing out** of the ``src/`` directory.

.. code-block:: bash
✔ Would you like to use TypeScript? Yes
✔ Would you like to use ESLint? Yes
✔ Would you like to use Tailwind CSS? Yes
✔ Would you like to use src/ directory? No
✔ Would you like to use App Router? (recommended) Yes
✔ Would you like to customize the default import alias (@/*) Yes
$ npx create-next-app@latest
✔ Would you like to use TypeScript? Yes
✔ Would you like to use ESLint? Yes
✔ Would you like to use Tailwind CSS? Yes
✔ Would you like to use src/ directory? No
✔ Would you like to use App Router? (recommended) Yes
✔ Would you like to customize the default import alias (@/*) Yes
The scaffolding tool will create a simple Next.js app and install its
dependencies. Once it's done, you can navigate to the app's directory and
Expand Down

0 comments on commit bca7546

Please sign in to comment.