Skip to content

Commit

Permalink
docs(nextjs): routes/ -> pages/ (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
przytrzask authored Feb 14, 2024
1 parent 3c37189 commit 1d75683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/getting-started/setup/next-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Here's a preview of what we will be building:
[Next.js] is a React Framework that comes with both Server-Side Rendering (SSR) and Static-Site Generation (SSG) capabilities. To make Next.js work with Tauri we are going to use the SSG mode since it generates only static files that can be included in the final binary.

Next.js comes with a scaffolding utility similar to [`create-tauri-app`] that can quickly setup a new project from many pre-defined templates.
For this guide, we will use the suggested default for all questions, including TypeScript support and the new `App Router` feature stabilized in v13.4. In case you use the the old `routes/` directory instead or on top of the `app/` directory, you still need to change the config as explained in the [Next.js Static Exports](#nextjs-static-exports) section but the way you use Tauri specific JS APIs will be different than described below.
For this guide, we will use the suggested default for all questions, including TypeScript support and the new `App Router` feature stabilized in v13.4. In case you use the the old `pages/` directory instead or on top of the `app/` directory, you still need to change the config as explained in the [Next.js Static Exports](#nextjs-static-exports) section but the way you use Tauri specific JS APIs will be different than described below.

<Tabs groupId="package-manager">
<TabItem value="npm">
Expand Down

0 comments on commit 1d75683

Please sign in to comment.