carte-blanche-react-plugin
v0.3.0
Published
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.
Downloads
15
Readme
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' })