server {
listen 80;
server_name example.com;
return 301 https://$server_name$request_uri; # enforce https
# rewrite ^(.*) https://www.example.com$uri permanent;
}
3 130 downloads in the last day
48 091 downloads in the last week
190 401 downloads in the last month
5 752 downloads in the last day
102 954 downloads in the last week
421 915 downloads in the last month
125 downloads in the last day
2 258 downloads in the last week
10 445 downloads in the last month
var gulp = require('gulp'),
less = require('gulp-less'),
gutil = require('gulp-util');
handleError = function(err) {
gutil.log(err);
gutil.beep();
};
gulp.task('less', function() {
gulp.src('./less/*.less')
.pipe(less())
.on('error', handleError)
.pipe(gulp.dest('./css'))
});
gulp.task("watch", function() {
gulp.watch('less/**/*.less', ['less']);
});
gulp.task("build", ['less']);
gulp.task("default", ["build", "watch"]);
npm i gulp -g
npm init
npm i gulp gulp-less gulp-util --save-dev
gulp
nav{
display: table;
table-layout: fixed;
width: 100%;
}
ul{
display: table-row;
}
li{
display: table-cell;
}