This is a really quick setup for a project with Next.js, Typescript, MDX and stitches.
Install the necessary packages by running
yarn
And run the project with
yarn dev
Right now you can't do too much. The root url automatically redirects to /test/test
. When you want to create a new page for you only have to create a slug.mdx
file in the data/test
folder. That page will then be available on /test/slug
.
When you're using Visual Studio Code it's recommended to use the VSCode MDX plugin for syntax highlighting in .mdx
files.