在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):henrikhb/bootstrap-4-boilerplate开源软件地址(OpenSource Url):https://github.com/henrikhb/bootstrap-4-boilerplate开源编程语言(OpenSource Language):CSS 96.6%开源软件介绍(OpenSource Introduction):Bootstrap 4 boilerplateA Bootstrap v4.3.1 boiler plate with Sass, concatenation, minification, autoprefixer, Browsersync, hot reloading and sourcemaps all runned by Gulp. Quick Start
RequirementsThis project requires you have nodejs with npm installed. This project requires you have a global installation of gulp.
Gulp commandsgulp serve The gulp serve command starts a local Browsersync server that serves your files in the browser. It reloads the current page when changing HTML, PHP, Sass and JS files. The output of all Sass files go to main.css All JS files are concatenated into main.js You can access the development server with other devices on the same network. Go to the "External" address specified by Browsersync (see the terminal) in the web browser of your device.
gulp (build) The default gulp command is set to creating a "dist" directory with a production version of the project, ready to be deployed. It minifies and renames JS/CSS assets as well as cleaning the old "dist" directory. CSS is autoprefixed for the latest two browser versions.
gulp concatScripts The gulp concatScripts command combines the specified JS resources into main.js You can add new JS files to this command on line 16 in gulpfile.js You might want to run concatScripts once separately after adding new JS files.
Overwriting Bootstrap sass variablesYou can overwrite specific bootstrap sass variables by uncommenting lines in assets/css/1-frameworks/bootstrap/bootstrap-user-variables.scss PHPIf you need a server with PHP support you can use the project with MAMP Pro or similar.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论