Cookie-gg / appdir-i18n-playground

https://app-dir.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js App Directory Playground with International Routing

Now support both English and Japanese. international routing with template below.

template: https://vercel.com/templates/next.js/app-directory

Next.js introduced the app/ directory (beta). This is the result of the Layouts RFC previously published for community feedback. This includes support for:

  • Layouts: Easily share UI while preserving state and avoiding re-renders.
  • Server Components: Making server-first the default for the most dynamic applications.
  • Streaming: Display instant loading states and stream in updates.
  • Suspense for Data Fetching: async/await support and the use hook for component-level fetching.

The app/ directory can coexist with the existing pages directory for incremental adoption. While you don't need to use the app/ directory when upgrading to Next.js 13, we're laying the foundations to build complex interfaces while shipping less JavaScript.

Running Locally

  1. Install dependencies:
pnpm install
  1. Start the dev server:
pnpm dev

Documentation

https://beta.nextjs.org/docs

Leave Feedback

vercel/next.js#41745

About

https://app-dir.vercel.app


Languages

Language:TypeScript 96.9%Language:JavaScript 1.8%Language:CSS 1.3%