Back to Articles
Runtime Page Bundle Demo
Runtime Page Bundle Demo

Demonstrating content splitting and local assets in public/posts using runtime injection.

Runtime Splitting Demo

This post lives in `public/posts/mdx-splitting-demo/`.
It simulates MDX imports by fetching content at runtime (or build time for SSR).

1. Imported Content

Below is content loaded from `_intro.md`:

Part 1: The Intro (Runtime Included)

This section is included from `_intro.md` using our custom runtime loader!

ℹ️ Note
Even without build tools, we can split content in `public/posts`.

2. Local Images

Here is a local image in this folder:

Hero Image

Conclusion

We achieved the goal: Page Bundles + Split Content + Local Images in `public/posts`!

Loading comments...