簡體   English   中英

如何在gulp中使用styledown?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM