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
Add an ember-basscss wrapper? #70
Comments
I've only dabbled with Ember a little bit, so correct me if I misunderstand anything. Generally, love this idea, and if you want to be the owner for these, feel free to do so. From my side of things, I would like to provide modularized UI components for different libraries that rely on their web-component-like aspects. It also seems like not too much work to provide options for simpler templating engines like Rails ERB and Handlebars, but those components would essentially just be helpers. Ideally, it would be nice to have library-agnostic HTML templates for each component that could be versioned and converted to their relevant library-specific syntax – that's why I started digging into Handlebars, and am definitely interested in Ember's fast boot HTMLbars work. That said something like lodash templates is also something I want to look into for creating source templates. Angular directives are probably first on my list, because of my familiarity and the popularity of the library. Polymer is also on the radar because of the similarities to spec-based web components. And, of course, React because of its component-based approach. I think it'd be rad if you wanted to create an ember-basscss repo, and I could definitely link to it from this site. I'm currently pulling in README files for all the modules docs and plan on using the same approach for the handlebars-basscss repo, once its in better shape, with a larger section of the docs for Components. I don't know much about the ember-cli side of things, but it seems like a good idea. |
Similarly to React/Angular/Polymer, Ember has support for web components that are attempting to adhere to the W3C as closely as possible [documentation]. The latest iterations are beginning to make these component first class citizens within the framework (an approach adopted from React). So, this would fit in nicely with your intentions. I definitely agree with you wholeheartedly, modularized UI components are the way to go, especially if they're library/framework agnostic. I'd be happy to take ownership of the Thanks for your time. |
After a bit of digging, it appears that Ember 2.0 will support Polymer components (with intentions of supporting the full W3C spec in the future). So, it appears, at least for the Ember case, Polymer components is the place to start. As such, I will close this issue and open a new one regarding Polymer components. |
Again, thanks for an awesome project, @jxnblk.
I've noticed that recently you've begun wrapping basscss for other frameworks (ng, handlebars). I'm curious if there's interest in an Ember wrapper, namely one that integrates with the ember-cli.
Thanks to the modularity of this project it'd be possible to add each as a single module to an Ember project:
ember-basscss-buttons
ember-basscss-typography
ember-basscss-forms
Only requiring
ember install:addon ember-basscss-buttons
to inject basscss components and CSS into the app. With an all-encompassingember install:addon ember-basscss
which basically introduces dependencies for all the other modules.I'd be happy to create all the wrappers for integrating basscss CSS and components (as a whole and as separate modules) into ember-cli projects. However, I don't know if you'd like those to be under your own repo umbrella, @jxnblk, or if I should just start creating them under mine. Thoughts?
The text was updated successfully, but these errors were encountered: