Read its source code to see the specific changes implemented. Bootstrap template with responsiveness disabled This disables the "mobile site" aspects of Bootstrap. You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed). Don't worry, the extra-small device grid scales to all resolutions.
col-xs-* classes in addition to, or in place of, the medium/large ones.
Here's how to disable this feature so your page works like in this non-responsive example. Then, rerun npm install.īootstrap automatically adapts your pages for various screen sizes. Should you encounter problems with installing dependencies or running Grunt commands, first delete the /node_modules/ directory generated by npm. Usually only necessary if you're hacking on Bootstrap itself. grunt (Build absolutely everything and run tests)Ĭompiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Runs JSHint and runs the QUnit tests headlessly in PhantomJS. Watches the Less source files and automatically recompiles them to CSS whenever you save a change. As a Bootstrap user, this is normally the command you want. Regenerates the /dist/ directory with compiled and minified CSS and JavaScript files. Available Grunt commands grunt dist (Just compile CSS and JavaScript)
When completed, you'll be able to run the various Grunt commands provided from the command line.
npm will look at the package.json file and automatically install the necessary local dependencies listed there.