Coder Social home page Coder Social logo

jeffmccommas / bootstrap-sass-loader-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shakacode/bootstrap-sass-loader-example

0.0 1.0 0.0 55 KB

Example of using the bootstrap-sass-loder to load the Sass version of Twitter Bootstrap using Webpack

License: MIT License

CSS 11.31% JavaScript 68.53% HTML 20.16%

bootstrap-sass-loader-example's Introduction

bootstrap-sass-loader-example

Example of configuring webpack with bootstrap-sass using bootstrap-sass-loader.

Run gulp build && open dist/index.html and then see the resulting test file.

Key files to configure:

  1. bootstrap-sass.config.js References: _pre-bootstrap-customizations.scss and _bootstrap-customizations.scss and _main.scss

  2. webpack.config.js

This example is based on this example for bootstrap, less version: bootstrap-webpack-example.

See gulpfile.js for more information on gulp tasks to run, such as gulp test, gulp webpack, and gulp build.

Testing Changes in the Bootstrap Sass Loader

  1. See this article Debugging NodeJs and Webpack Loaders
  2. Clone both this project and https://github.com/justin808/bootstrap-sass-loader
  3. Use the npm link command per step #1 (see article)
  4. Make some changes in the loader, put in some print statements maybe, then run gulp webpack to invoke the loader.
  5. Then run gulp build && open dist/index.html and the resulting file dist/index.html in the browser.

Referencing the github version of bootstrap-sass-loader

Substitute this line in your package.json:

"bootstrap-sass-loader": "justin808/bootstrap-sass-loader#fix-order-defaults-sass-import",

Pull requests are welcome!

For more info see: http://www.railsonmaui.com and http://forum.railsonmaui.com.

bootstrap-sass-loader-example's People

Contributors

justin808 avatar readmecritic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.