react-bootstrap-custom-boilerplate
v1.0.2
Published
boilder plate to play with bootstrap customization (react bootstrap)
Downloads
10
Readme
react-bootstrap-custom-boilerplate
Versions
node v6.10.0
npm 3.10.10
Resources
https://react-bootstrap.github.io/getting-started.html
https://www.twilio.com/blog/2015/08/setting-up-react-for-es6-with-webpack-and-babel-2.html
https://www.codementor.io/tamizhvendan/beginner-guide-setup-reactjs-environment-npm-babel-6-webpack-du107r9zr
https://www.jonathan-petitcolas.com/2015/05/15/howto-setup-webpack-on-es6-react-application-with-sass.html
https://github.com/AngularClass/angular-starter/issues/727
Things you need
HTML
<!DOCTYPE html>
<html lang="en">
...
</html>
Sass Files
@import "stylesheets/base"; // this is the core thing, you need this for styling...
Build Code
npm install
npm run clean
npm run build
// open the sample page (only works on Mac)
npm run start
References
Special thanks to the following folks who created awesome frameworks.
- Twitter Bootstrap
- React Bootstrap
- Babel
- Webpack
- Facebook React
Notes
// src
import AjaxUtil from './javascript/util/ajaxUtil'
// our lib
export {AjaxUtil}
// default export
export default AjaxUtil;
// usage
var ajaxUtil = require('react-bootstrap-custom-boilerplate').AjaxUtil;
ajaxUtil.getText()