Omit the viewport mentioned in the CSS docs.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. grunt docs (Build & test the docs assets)īuilds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via jekyll serve. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |