项目
在 GitHub 查看 OptimizedHTML 4:
wdmcourses/OptimizedHTML-4
关于
OptimizedHTML 4:基于 Gulp 和 Bootstrap 5 的初创项目 HTML 模板
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文OptimizedHTML 4:
Startup HTML template based on Gulp & Bootstrap 5
Author: WebDesign Master
OptimizedHTML is all-inclusive start HTML5 template with Bootstrap 5 (grid & reboot), Gulp, Sass, Browsersync, Autoprefixer, Clean-CSS, Uglify, Rsync and Bower (libs path) support. The template contains a .htaccess file with caching rules for web server.
OptimizedHTML 4 Start Template uses the best practices of web development.
Cross-browser compatibility: IE9+.
The template uses a Sass with Sass or Scss syntax (optional).
How to use OptimizedHTML
- Download OptimizedHTML 4 from GitHub;
- Install Node Modules: npm i;
-
GraphicsMagick Required (opt. line 3):
Install gm Linux/WSL:sudo apt update; sudo apt install graphicsmagick
Install gm Git Bash: https://sourceforge.net/projects/graphicsmagick/files/ - Run the template: gulp.
Gulp tasks:
- gulp: run default gulp task (sass, js, watch, browserSync) for web development;
- rsync: project deployment on the server from dist folder via RSYNC;
Rules for working with the starting HTML template
- All HTML files should have similar initial content as in app/index.html;
- Template Basic Images Start comment in app/index.html - all your custom template basic images (og:image for social networking, favicons for a variety of devices);
- Custom Browsers Color Start comment in app/index.html: set the color of the browser head on a variety of devices;
- Custom HTML comment in app/index.html - all your custom HTML;
- For installing new jQuery library, just run the command "bower i plugin-name" in the terminal. Libraries are automatically placed in the folder app/libs. Bower must be installed in the system (npm i -g bower). Then place all jQuery libraries paths in the 'libs' task (gulpfile.js);
- All custom JS located in app/js/common.js;
- All Sass vars placed in app/sass/_vars.sass | app/scss/_vars.scss;
- All Bootstrap media queries placed in app/sass/_media.sass | app/scss/_media.scss;
- All libraries CSS styles placed in app/sass/_libs.sass | app/scss/_libs.scss;
- Rename ht.access to .htaccess before place it in your web server. This file contain rules for files caching on web server.
探索相关项目
加载中…