1.0.2 • Published 6 years ago
growi-plugin-boilerplate v1.0.2
growi-plugin-boilerplate
Install
install plugin
yarn add growi-plugin-boilerplatebuild client app (see official documents)
Usage
$foo tag
A simple example to implement custom tag that parse $foo() syntax and render a Foo React component.
Syntax
$foo(range=1:10)Options
range: Dummy option for parsing range type option
$bar tag
An example to implement custom tag that parse $bar() syntax and render a Bar React component.
The Bar component retrieves the username of the author of the current page.
Syntax
$bar()Options
(nothing)