a framework to build a catalogue of your UI components
OTHER License
This is a simple emulation of Chromatic and react-storybook for blaze-based projects.
It grew out of my appreciation for how useful it would be, but my unwillingness to rewrite my whole apps using react.
SG.configure({basePath: "/styleguide/"})
.debugOnly
so it's not included in production.SG.configure()
Checkout blaze-styleguide-example.
SG.register("sgScreen")
.add("default", function() {
return {
screens: SG.screens,
selected: function() {
return (this.name === SG.screens[0].name);
},
action: function() {}
};
});
This project can be improved in any of its aspects.
I'd be very pleased to see it grow, but be even more pleased to see Chromatic support Blaze and kill this project.
With that in mind, contributions are welcome :-)
blaze-styleguide is licensed under the MIT License.