一个快速生成页面文件的插件,搭配 vue 模版使用。 创建简单的前端 npm 命令和脚手架
- create a new page (创建一个page页面vue/js/less)
$ yang g page about
- create a new component (创建一个component组件 vue/js/less)
$ yang g component about
- create a new local (基于当前template copy一份vue文件)
$ yang g local about
node test
npm adduser Username:xxxx Email:(xxx@xxxx.com)
npm publish . 24 小时后可以删除 如果想撤销发布使用命令 npm deprecate -f 6yang-cli "不在维护了" or npx force-unpublish 6yang-cli "remove and unsupport"