Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMitul Patel
24,890 PointsBuilding a Personal Component Library
I am looking to build my own component library. I am doing this mostly for the experience in making modular component library
I want to use the following:
- Polymerjs
- NodeJS
- CSS/Sass
- Gulp
- Bower
I'm having trouble trying to figure out how to architect this out. Anyone have any ideas? Open to any feedback.
james white
78,399 Pointsjames white
78,399 PointsHi Mitul,
If you are using Polymer.js and Gulp, perhaps you may want to consider using Atom-Shell.
Atom-Shell is a desktop wrapper for your HTML/JS/CSS based applications, offering a seamless way to inject Node.js code right into your application. Technically itβs Chromium Embedded Framework with a bridge to Node.js. This means, as a very base-level example, I can do direct file-manipulation using Nodeβs βfsβ module. Itβs as easy as requiring the package in your front-end code and using it, just the same way as you would in your NodeJS application. You can mix browser based code with NodeJS code, and obviously it doesnβt stop at file manipulation. In theory, most everything you can do in Node can now be done in Atom-Shell. In this way, itβs similar to Node-Webkit.
For a little tutorial on how it works check out this page: http://www.benfarrell.com/2014/07/05/a-polymer-gulp-atom-shell-workflow/