Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm 命令创建

一个快速生成页面文件的插件,搭配 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"

About

创建简单的脚手架

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages