fix example

This commit is contained in:
cookfront
2017-03-24 17:32:31 +08:00
parent 7b729f3d15
commit f089a405a3
3 changed files with 6 additions and 1 deletions

View File

@@ -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'));
}