jspm setup proxy

http_proxy and https_proxy environment variables need to be set for jspm and in Commands like wget, curl etc. If set, they make network request through the proxy server specified in the variable.

Advertisements

sass setup options

RUBY installer: http://sass-lang.com/install

C++ installer: A C/C++ implementation of a Sass compiler http://libsass.org

NPM installer: node-sass – Node-sass is a library that provides binding for Node.js to libsass,It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware. https://www.npmjs.com/package/node-sass

gulp-sass: Gulp plugin for sass https://www.npmjs.com/package/gulp-sass

Note that with gulp, you’ll have to manually create the gulpfile.js configuring the compilation, watch, liveReload etc. features… All this can be automated using a scaffold or gulp generator

Using ReactJS with AngularJS

ref: http://blog.500tech.com/using-reactjs-with-angularjs/

NOTES:

  • ReactJS did the same as AngularJS and just bound itself to a container on the page.
  • So what does ReactJS need to load? Yep, a container. And if we want it to work inside AngularJS let us try adding a container into the directive…
  • Now that you have seen how easy it is to add ReactJS to the project; use a library that is already well tested and used like ngReact.
  • The sample code is also availble in the github repo