mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix example
This commit is contained in:
@@ -81,6 +81,7 @@ for (var item in Components) {
|
||||
|
||||
var exampleVueName = `${docsDir}/examples-dist/${item}.vue`;
|
||||
|
||||
// 新建一个文件
|
||||
if (!fs.existsSync(exampleVueName)) {
|
||||
fs.closeSync(fs.openSync(exampleVueName, 'w'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user