@plutocms/core

中文文档
0.46.0发布于 2026/11/02MITES Module构建来源已验证

The base layer every Pluto app extends: the admin, the content model, and the Git CMS

原始使用文档
文档目录6 节
  1. Quick start
  2. Add Pluto to a Nuxt app
  3. Use it headless
  4. Layers
  5. Links
  6. License
Pluto

Pluto

A layer-based CMS built on Nuxt. Use it in your Nuxt app, or headless from any framework or stack through its public API. You add only the layers you need.

[!WARNING] Pluto is in alpha. Expect breaking changes, incomplete features, and rough edges.

Docs: pluto.vulmix.dev

Quick start

npm create pluto@latest

The CLI asks for a template and a package manager, installs the dependencies, and shows the command that starts the dev server. Open /admin to edit your content.

Add Pluto to a Nuxt app

npm install @plutocms/core
// nuxt.config.ts
export default defineNuxtConfig({
  extends: ['@plutocms/core'],
})

Core is the base layer every Pluto app extends. With no other layer, Pluto is a Markdown CMS on Git: posts are files in your repository, and each save is a commit. It works out of the box with your local Git repo in development. Connect GitHub to publish from a deployed site. See Git CMS.

Use it headless

A site in any framework reads the published content from the public API:

curl https://your-site.dev/api/pluto/v1/content/post?limit=10

See Public API.

Layers

PackageWhat it adds
@plutocms/coreThe core: the admin, the content model, and the Git CMS.
@plutocms/docsA visual editor for the pages of a Nuxt Content site.
@plutocms/supabaseA Supabase backend: database, auth, users, and roles.
@plutocms/supabase-blogBlog posts on Supabase.
@plutocms/supabase-shopProducts on Supabase.
@plutocms/3d3D models in the media library, and a viewer.

Read Layers to see how they fit together.

License

MIT

版本与发布记录

@plutocms/core 共发布 15 个版本,首次发布于 2026/10/30;过去 12 个月发布了 15 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.46.0latest2026/11/021 天前
0.45.02026/11/021 天前
0.44.12026/11/021 天前
0.44.02026/11/012 天前
0.43.02026/11/012 天前
0.42.02026/11/012 天前

关于 @plutocms/core 的常见问题

@plutocms/core 是什么?

每个Pluto应用程序扩展的基础层是:管理、内容模型和Git CMS

如何安装 @plutocms/core?

在项目目录运行 npm install @plutocms/core,或使用 pnpm add / yarn add / bun add。

@plutocms/core 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/plutocms__core 是否存在。

@plutocms/core 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@plutocms/core 可以商用吗?

@plutocms/core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@plutocms/core 还在维护吗?

最新版本 0.46.0 发布于 2026/11/02(1 天前);至今共发布 15 个版本,其中过去 12 个月发布了 15 个;首次发布于 2026/10/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。