mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
bb0aa878e2
* chore: add md-to-vue script * fix: update * Update scripts/md-to-vue.js * Update scripts/utils/loader.js * fix: update fn name Co-authored-by: yugang.cao <yugang.cao@tusimple.ai> Co-authored-by: 07akioni <07akioni2@gmail.com>
8 lines
216 B
JavaScript
8 lines
216 B
JavaScript
const { convertFilesByComponentName } = require('./utils/loader')
|
|
async function translateMdToVue () {
|
|
const componentName = process.argv[2]
|
|
await convertFilesByComponentName(componentName)
|
|
}
|
|
|
|
translateMdToVue()
|