xyh_demo
this is me first npmPackage
this is me first npmPackage
## Project setup ``` yarn install ```
组件库
vue打包发布的npm,demo
```javascript const removeDir = (pathDir) => { // 第一步 读取文件夹路子目录 const arr = fs.readdirSync(pathDir) // 第二部 遍历子目录 arr.forEach(item => { // 第三部 判断是文件夹还是文件 // 3.1 拼接路径 item = pathDir + "/" + item //
```js const fs=require('fs'); const copy=(sourcePath,targetPath)=>{ const flay1=fs.existsSync(sourcePath); const flay2=fs.existsSync(targetPath); //容错 if(!flay1){ throw new Error('源文件不存在'+sourcePath); return; }
yyh test npm
鸭嘴兽vue组件库
yy-demos
A Vue.js project
A plugin that provides myPlugin function
lcm 测试发包
zty's demo 2017.5.2