danizord / nextjs-tailwind-mdx

MOVED TO https://github.com/datopian/portal.js/tree/main/examples/nextjs-tailwind-mdx [Next.js + Tailwind CSS + MDX Starter Template]

Home Page:https://nextjs-tailwind-mdx-tau.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js + Tailwind CSS + MDX Starter Template

A starter template for Next.JS with Tailwind and MDX. Intentionally limited feature-set to keep things simple. (If you want a more comprenhensive starter template check out https://github.com/timlrx/tailwind-nextjs-starter-blog).

Includes instructions on how to rapidly customize the site.

Preview online at https://nextjs-tailwind-mdx-tau.vercel.app

Features

Pre-configured with the following;

Usage

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example https://github.com/datopian/nextjs-tailwind-mdx myapp
# or
yarn create next-app --example https://github.com/datopian/nextjs-tailwind-mdx myapp

Then run the app:

cd myapp
npm run dev

Configuration

See config directory:

  • config/siteConfig.js for site wide configuration especially for general theme (e.g. title) and SEO
  • config/navLinks.js for configuration of navigation links

How to customize the content directory location?

Open up pages/[...slug].js and change the CONTENT_PATH variable.

Theming

We suggest the following:

  • Replace the favicon in public/favicon.ico or use the svg favicon ...
  • Add a logo: add image to public e.g. then open components/layout.js and replace footer logo link

Tweaking the theme in general: open up components/Layout.js and tweak away.

About

MOVED TO https://github.com/datopian/portal.js/tree/main/examples/nextjs-tailwind-mdx [Next.js + Tailwind CSS + MDX Starter Template]

https://nextjs-tailwind-mdx-tau.vercel.app


Languages

Language:JavaScript 100.0%