在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:shakyShane/jekyll-gulp-sass-browser-sync开源软件地址:https://github.com/shakyShane/jekyll-gulp-sass-browser-sync开源编程语言:CSS 78.9%开源软件介绍:jekyll-gulp-sass-browser-syncA starter project including full setup for Jekyll, GulpJS, SASS, AutoPrefixer & BrowserSync Here's a 1.5min screencast showing what you get. And here's a GIF showing the CSS injecting. System PreparationTo use this starter project, you'll need the following things installed on your machine.
Local Installation
Usagedevelopment mode This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc etc. $ gulp jekyll As this is just a Jekyll project, you can use any of the commands listed in their docs Deploy with GulpYou can easily deploy your site build to a gh-pages branch. First, follow the instructions at gulp-gh-pages to get your branch prepared for the deployment and to install the module. Then, in var deploy = require("gulp-gh-pages");
gulp.task("deploy", ["jekyll-build"], function () {
return gulp.src("./_site/**/*")
.pipe(deploy());
}); |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论