A React component that works like a preview of other components. An excellent tool to show how your component works and looks with. Easy to install and configure, you can have a router in your project with Atellier and can interact with any component.
Imagine a universe in which you may have tools (components) tested in real time! This is amazing!
npm install -g react-atellierImport Atellier
For releases: > v0.1.0 (NEWER)
...
importReactAtellierfrom'react-atellier';For releases: <= v0.0.14
...
varReactAtellier=require('react-atellier')(React);Import your component
importmyComponentfrom'myComponent';constcomponentList=[{componentName : myComponent.displayName,component : myComponent}];OR your component library
importmyComponentsfrom'myComponent';constcomponentList=myComponents.map((comp)=>{return{componentName : comp.displayName,component : comp}})pass your components to Atellier over components prop.
varAtellierWrapper=React.createClass({render: function(){return(<ReactAtelliercomponents={componentList}/>);}});and then you need to render the Atellier somewhere in your application.
render((<Routerhistory={browserHistory}><Routepath="/"component={App}><Routepath="atellier"component={AtellierWrapper}/></Route></Router>),document.body)- Atellier CLI (wip)
- Import components and live update
- Move components in
stage
Come with us to make an awesome Atellier tool to run components in live ambient.
Now, if you do not have technical knowledge and also have intend to help us, do not feel shy, click here to open an issue and collaborate their ideas, the contribution may be a criticism or a compliment (why not?)
We have some conventions to contribute to the Atellier project, see more information in our CONTRIBUTING.md. So please, read this before send to us a pull requests.
React Atellier is released under the MIT license.
