X Enterprises

Configuration

app.config.ts and runtimeConfig reference for @xenterprises/nuxt-x-blog.

Configuration

app.config.ts

export default defineAppConfig({
  xBlog: {
    title: 'Blog',
    description: 'Latest articles and updates',
    postsPerPage: 9,
    dateFormat: 'MMM d, yyyy',
    showAuthor: true,
    showReadingTime: true,
    showTags: true,
    showTableOfContents: true,
    showShareButtons: true,
  },
})

Schema Reference

KeyTypeDefaultDescription
titlestring'Blog'Blog section title shown on the listing page.
descriptionstring'Latest articles and updates'Blog section description shown on the listing page.
postsPerPagenumber9Number of posts per page for pagination.
dateFormatstring'MMM d, yyyy'Display date format used by useBlog().formatDate().
showAuthorbooleantrueShow author name on post cards and individual post pages.
showReadingTimebooleantrueShow estimated reading time on post cards and pages.
showTagsbooleantrueShow tag badges on post cards and pages.
showTableOfContentsbooleantrueShow XBLTableOfContents on individual post pages.
showShareButtonsbooleantrueShow XBLShareButtons on individual post pages.

Runtime Config / Environment Variables

None required. All configuration is through app.config.ts.


AI Context

package: "@xenterprises/nuxt-x-blog"
config-key: xBlog
Copyright © 2026