maxime-rainville/silverstripe-react

A helper library for creating react component in Silverstripe CMS

Installs: 2 446

Dependents: 4

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 0

Open Issues: 6

Language:JavaScript

Type:silverstripe-vendormodule

0.1.0 2023-07-30 09:20 UTC

README

PHPUnit

IN DEVELOPMENT!!!

This library provide a helpers to make it easy to create react component for Silverstripe CMS.

Requirements

Installation

composer require maxime-rainville/silverstripe-react

Documentation

Add links into your docs/ folder here unless your module only requires minimal documentation in that case, add here and remove the docs folder. You might use this as a quick table of content if you have multiple documentation pages.

Maintainer documentation

Rebuilding the pattern library

This module integrate with the Silverstripe CMS pattern library. To view the pattern library:

  • Make sure you have installed silverstripe/admin from source.
  • Run cd vendor/silverstripe/admin from the root of your project.
  • Run yarn install to install the silverstripe/admin dependencies.
  • Run yarn pattern-lib to build the pattern library. This will auto-discover the maxime-rainville/silverstripe-react library.
  • Point your browser to http://localhost:6006. Stories specific to this module will be under "ReactAdmin".