UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

14 lines (11 loc) 320 B
const fs = require('fs-extra'); const sourcePath = './sdk'; const destinationPath = '../saas-web/node_modules/fastlion-amis/sdk'; // 复制源目录到目标目录 fs.copy(sourcePath, destinationPath, (err) => { if (err) { console.error('复制失败:', err); } else { console.log('复制成功'); } });