naive-ui/scripts/md-to-vue.js
2024-07-12 02:19:13 +08:00

9 lines
232 B
JavaScript

const { convertFilesByComponentName } = require('./utils/loader')
async function translateMdToVue() {
const componentName = require('node:process').argv[2]
await convertFilesByComponentName(componentName)
}
translateMdToVue()