Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SourceJS for describing separate UI components #145

Open
robhrt7 opened this issue May 16, 2015 · 3 comments
Open

Use SourceJS for describing separate UI components #145

robhrt7 opened this issue May 16, 2015 · 3 comments
Milestone

Comments

@robhrt7
Copy link
Member

robhrt7 commented May 16, 2015

Currently SourceJS expects to have a basic set-up with custom configured user folder. This is great for building collaborative component libraries and Style Guides, but is a bit complicated for defining stand-alone component (or bundle) documentation.

Example usecase:
Developer creates a React Component to be shared with the open source community. In his team, he could add this component to common SourceJS set-up. But for those, who don't have this common SourceJS set-up, this component documentation won't be available.

Any SourceJS compliant component should have an easy way of running visual documentation environment with few commands.

Intended workflow:

git clone <stand-alone-component> && cd stand-alone-component
sourcejs run [or npm start]
open http://localhost:8080

This feature will require an ability to install SourceJS as npm dependency, and use only default settings, without relying on any configuration. Preferably to have SourceJS CLI #144.

If SourceJS will always require some basic set-up, we can create a basic Gulp initialization plugin, which will prepare all default configs and run the engine.

@robhrt7 robhrt7 added this to the 0.6.x milestone May 16, 2015
@ndelangen
Copy link
Member

I think this is now how 0.6 actually works, or am I forgetting something? Can we close this one?

@robhrt7
Copy link
Member Author

robhrt7 commented Jun 18, 2016

It's almost is, but I'll need to re-test it and do a small demo project to be sure the DX is good enough.

@ndelangen
Copy link
Member

It has been for me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants