1.1.0 • Published 6 years ago
mdx-site v1.1.0
Static site generator powered by:

Getting Started
If you're starting from scratch:
mkdir my-sitecd my-siteyarn init -y

Within your project, install mdx-site:
yarn add mdx-site

Now you're ready to run it:
yarn mdx-site

- Visit http://localhost:3000/.

Authoring
Add pages to
content/:page/index.mdxexportdata viacontent/:page/index.tsxCustomize HTML template:
public/index.htmlCustomize components:
components/:tag.tsx🚀 Publish to
dist:yarn mdx-site build
All changes are hot-reloaded. Refresh for changes!
Deployment
yarn mdx-site build- Publish
distas a static site using Netlify, Now, or whatever you'd like.