Get Post by Slug
Fetch a single blog post with full content.
Updated
On this page
Overview
Fetch a single blog post with its full HTML content.
SDK Usage
import dash from "@/lib/dash"
const { post } = await dash.blog.get("my-first-post", {
trackViews: "session", // "session" | "always" | "none"
})