[英]how to use styledown with gulp?
我有任務
gulp.task('generate-styleguid',() => { 'use strict'; return gulp.src('./src/styleguid') .pipe(styledown({ config: './src/styleguid/config.md ', filename: './src/styleguid/styleguide.html' })) .pipe(gulp.dest('./src/styleguid/')) })
當我運行它時,我得到一個錯誤: fs.js:646 return binding.open(pathModule._makeLong(path),stringToFlags(flags),mode); ^錯誤:ENOENT:沒有這樣的文件或目錄
路徑有問題嗎? 以及如何解決呢?
路徑中config.md
有多余的空格。
配置行:“ ./ src / styleguid / config.md”,應配置為:“ ./ src / styleguid / config.md”,
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.