0.3.0 • Published 9 years ago
carte-blanche-react-plugin v0.3.0
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' })