mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
9 lines
193 B
JavaScript
9 lines
193 B
JavaScript
import { existsSync, readFileSync, writeFileSync } from 'fs'
|
|
|
|
const app = 'src/App.vue'
|
|
const example = 'app.example.vue'
|
|
|
|
if (!existsSync(app)) {
|
|
writeFileSync(app, readFileSync(example))
|
|
}
|