carte-blanche-react-plugin

0.3.0 • Public • Published

ReactPlugin

This plugin gives you an isolated development space for your react components. It starts a server at localhost:8082 for saving and editing your variations.

Usage

new CarteBlanche({
  includes: /* … */,
  plugins: [
    new ReactPlugin()
  ]
})

Options

  • variationFolderName (default: variations): The name of the folders that stores the variation files.
new ReactPlugin({
  variationFolderName: 'examples'
})
  • port (default: 8082): The port the variations server runs at.

    new ReactPlugin({
      port: 7000
    })
  • hostname (default: localhost): The URL the variations server runs at.

    new ReactPlugin({
      hostname: 'mydomain.com'
    })

Package Sidebar

Install

npm i carte-blanche-react-plugin

Weekly Downloads

2

Version

0.3.0

License

MIT

Last publish

Collaborators

  • nikgraf
  • mxstbr