@ckjs/next
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

@ckjs/next

Next.js client for ContentKit.

Installation

# Using npm
npm install contentkit

# Using yarn
yarn add contentkit

# Using pnpm
pnpm add contentkit

# Using bun
bun add contentkit

Usage

Wrap your Next.js configuration with withContentkit:

// next.config.js
const { withContentkit } = require("contentkit/next");

module.exports = withContentkit({
  reactStrictMode: true,
});

This will automatically rebuild ContentKit content whenever content files are updated.

Readme

Keywords

none

Package Sidebar

Install

npm i @ckjs/next

Weekly Downloads

127

Version

0.1.4

License

BSD-3-Clause

Unpacked Size

236 kB

Total Files

8

Last publish

Collaborators

  • jonasfranke
  • contentkitbot