mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 12:17:37 +08:00
9 lines
190 B
TypeScript
9 lines
190 B
TypeScript
|
import { existsSync, writeFileSync, readFileSync } from 'fs'
|
||
|
|
||
|
const play = 'play.vue'
|
||
|
const example = 'play.example'
|
||
|
|
||
|
if (!existsSync(play)) {
|
||
|
writeFileSync(play, readFileSync(example))
|
||
|
}
|