0.1.1 • Published 4 years ago
@rock-kit/ui-docs-client v0.1.1
category: packages
ui-docs-client
A client application to display documentation made by Rock Content.
Installation
yarn add @rock-kit/ui-docs-client
Usage
import renderDocsClient from '@rock-kit/ui-docs-client'
const props = {
docs: {},
parents: {},
sections: {},
library: {}
}
renderDocsClient(props, document.getElementById('app'))
Note: The data for the props argument is generated by the @rock-kit/ui-docs-plugin.
Development
From the root of the rock-kit
repo:
- Run
yarn build:watch
- Run
yarn dev
- Open http://localhost:8080/ in your browser