mdx-site
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

mdx  S I T E

Static site generator powered by:

lighthouse score

Getting Started

If you're starting from scratch:

  1. mkdir my-site
  2. cd my-site
  3. yarn init -y

Picture of previous steps

Within your project, install mdx-site:

  • yarn add mdx-site

Picture of previous step

Now you're ready to run it:

  • yarn mdx-site

Picture of previous step

Picture of previous step

Authoring

  1. Add pages to content/:page/index.mdx

  2. export data via content/:page/index.tsx

  3. Customize HTML template: public/index.html

  4. Customize components: components/:tag.tsx

  5. 🚀 Publish to dist:

    yarn mdx-site build

All changes are hot-reloaded. Refresh for changes!

Deployment

  1. yarn mdx-site build
  2. Publish dist as a static site using Netlify, Now, or whatever you'd like.

Author

Readme

Keywords

none

Package Sidebar

Install

npm i mdx-site

Weekly Downloads

8

Version

1.1.0

License

MIT

Unpacked Size

194 kB

Total Files

48

Last publish

Collaborators

  • ericclemmons