Installation
To scaffold an app using create-t3-app, run any of the following commands and answer the command prompt questions:
Create project
Run the init
command to create a new Next.js project or to setup an existing one:
You can use the -d
flag for defaults i.e new-york
, zinc
and yes
for the css variables.
Configure components.json
You will be asked a few questions to configure components.json
:
That's it
Installation next-mdx-remote
If using with Turbopack, you'll need to add the following to your next.config.js
until this issue is resolved:
Examples
Rehype Component
👇 create file and copy