What tools are used to write a CSS file in bootstrap by writing less files?
How do I save the browser to the latest code style after saving the code with sublime?
Or what other useful tools are there?
From the Internet to find a lot of ways can not be achieved, online waiting for your reply.
Installing Grunt
Before installing Grunt, you need to first download and install node. JS (NPM is included). NPM is the abbreviation for node packaged modules, and its role is to manage the dependencies between the expansion packages based on node. js.
Then enter the following command on the command line:
- Install GRUNT-CLI:NPM install-g GRUNT-CLI in the global environment.
- Go to the/bootstrap/root directory and execute the NPM install command. NPM will read the Package.json file and automatically install all dependent expansion packs listed in this file.
Once the above steps are complete, you can run the various Grunt commands provided by Bootstrap.
Available Grunt Commands Grunt Dist (only CSS and JavaScript files are compiled)
Regenerate the/dist/directory and place the compiled compressed CSS and JavaScript files into this directory. As a Bootstrap user, you only need to execute this command in most cases.
Grunt Watch (monitor file changes and run the specified grunt task)
Monitor the change of less source file and automatically recompile it to a CSS file.
Grunt Test (running the testing case)
Run Jshint and Qunit automated test cases in a PHANTOMJS environment.
Grunt Docs (Build & Test the Docs assets)
Builds and tests CSS, JavaScript, and other assets which is used when running the documentation locally Viajekyll serve.
Grunt (re-build all content and run test cases)
Jekyll tools are required to compile and compress CSS and JavaScript files, to build document sites, to make HTML5 checks on documents, to regenerate resource files needed for custom tools, and so on. This is only useful if you are studying Bootstrap in depth.
What tools are used to write a CSS file in bootstrap by writing less files?