maxime-rainville / silverstripe-react
在 Silverstripe CMS 中创建 React 组件的辅助库
0.1.0
2023-07-30 09:20 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.6
- 0.1.x-dev
- 0.1.0
- 0.0.0
- dev-feature/react-admin
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/minimatch-3.0.8
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-feature/react-admin-breadcrumbs
This package is auto-updated.
Last update: 2024-08-30 01:06:58 UTC
README
开发中!!!
这个库提供了一些辅助工具,使创建 Silverstripe CMS 的 React 组件变得简单。
需求
安装
composer require maxime-rainville/silverstripe-react
文档
在此将链接添加到您的 docs/ 文件夹中,除非您的模块只需要最小量的文档。在这种情况下,请在此添加并删除 docs 文件夹。如果您有多个文档页面,可以使用此作为快速目录表。
维护者文档
重建模式库
此模块与 Silverstripe CMS 模式库集成。要查看模式库
- 请确保您已从源安装了
silverstripe/admin
。 - 从项目的根目录运行
cd vendor/silverstripe/admin
。 - 运行
yarn install
以安装silverstripe/admin
的依赖项。 - 运行
yarn pattern-lib
以构建模式库。这将自动发现maxime-rainville/silverstripe-react
库。 - 将您的浏览器指向 http://localhost:6006。特定于此模块的故事将位于 "ReactAdmin" 下。