networkteam/neos-next
Composer 安装命令:
composer require networkteam/neos-next
包简介
Adds Next.js support to Neos CMS
README 文档
README
This package adds special support for Next.js to Neos CMS.
- Provides preview rendering for nodes (a.k.a. out of band rendering) through the Next.js frontend
- Send revalidation requests to Next.js for changed document nodes
Note: Make sure to add
@networkteam/zebrain your Next.js project.
The actual content will be provided to Next.js via the Networkteam.Neos.ContentApi package.
Why two packages?
Networkteam.Neos.ContentApi is a more generic package for fetching content from Neos CMS in JSON format and is
configurable via Fusion. It is not specific to Next.js and can be used for other use cases as well.
Configuration
The Next.js URL must be known for Neos CMS for the integration to work correctly. The default configuration works for a local Next.js server.
Networkteam: Neos: Next: # Configure Next.js setting by site node name sites: # The default settings are used for all sites without a specific configuration _default: # The base URL for the Next.js frontend nextBaseUrl: http://localhost:3000/ revalidate: # The URI for revalidation could be a path or an absolute URL uri: '/api/revalidate' token: 'a-secret-token' # Add additional site configurations by site node name # # mySiteNode: # nextBaseUrl: http://my-site.local:3000/
Note: A long random token should be used for production configuration.
License
networkteam/neos-next 适用场景与选型建议
networkteam/neos-next 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7.5k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 11 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 networkteam/neos-next 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 networkteam/neos-next 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-17