mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
9351a35072
* docs: add cli for building demo structured file * docs: cli improvement * docs: generate demo page * fix: style of components page * docs: add prism to mack source code highlight * feat: add menu2json command for cli * fix: markdown highlight * feat: fetch menu data from cli output files * fix: cli * docs: add avatar demo * docs: add button demos * docs: add component-scope style * docs: fix style * docs: add badge demos * fix: rebase conflict * docs: refactor layout * docs: fix navigation * docs: fix rebase conflict * docs: add AntAffix for sider menu * docs: fix affix error * docs: fix rebase confilct
13 lines
375 B
JavaScript
13 lines
375 B
JavaScript
var gulp = require("gulp"),
|
|
cleanCss = require("gulp-clean-css"),
|
|
less = require("gulp-less");
|
|
|
|
var rename = require('gulp-rename');
|
|
|
|
gulp.task("default", function () {
|
|
return gulp.src('style/index.less')
|
|
.pipe(less({ javascriptEnabled: true }))
|
|
.pipe(cleanCss({ compatibility: 'ie8' }))
|
|
.pipe(rename('docs.css'))
|
|
.pipe(gulp.dest('wwwroot/css'));
|
|
}); |