mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
9 lines
189 B
TypeScript
9 lines
189 B
TypeScript
import { existsSync, writeFileSync, readFileSync } from 'fs'
|
|
|
|
const app = 'src/App.vue'
|
|
const example = 'app.example'
|
|
|
|
if (!existsSync(app)) {
|
|
writeFileSync(app, readFileSync(example))
|
|
}
|