🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

poke-ball

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poke-ball

vuejs application generator 帮助开发人员快速生成一个vuejs项目,同时支持该项目模块自动生成,降低开发人员学习成本、提高开发效率

latest
Source
npmnpm
Version
5.0.1
Version published
Maintainers
1
Created
Source

poke-ball

vuejs application generator 帮助开发人员快速生成一个vuejs项目,同时支持该项目模块自动生成,降低开发人员学习成本、提高开发效率

Installation

npm install poke-ball -g

Feature
  • kk -h
  • kk new projectName (创建vuejs项目)
  • kk view viewsName/subViewsName (添加二级模块)
  • kk views viewsName/subViewsName/leafViewsName (添加三级模块)
tips
  • 添加三级别模块还是两级模块?级别指的是模块深度,可以根据项目复杂度、路由设计、导航栏进行选择
  • <>:必填参数,[]:可选参数
  • 创建views,subviews,directive...时,请确保在vuejs 项目目录下
  • views 相当于module(一个模块)
  • 创建subviews时,views必须要存在
Example
  • npm全局安装: npm install -g poke-ball
  • 进入你的工作目录,创建一个project: kk new vue-seed (kk是poke-ball提供的命令)
  • 进入project,新建模块:kk views viewsName/subViewsName/leafViewsName
  • 安装依赖: sudo npm install(有些模块可能需要较高的权限)
  • 运行项目 npm start
Others
  • 该工具在mac环境下运行成功,其他开发环境不保证稳定可靠
  • 该工具在组内成员适用,外部人员如若使用不提供技术支持,可供学习参考
update logs
  • v5.0.1 优化: git clone --depth=1快速clone项目,之后rm -rf .git
  • v5.0.0 优化: 将seed拆分,每次使用脚手架新建项目时,从github clone vue-seed
  • v4.0.0 稳定版: 修复少量bug,之后基本不再更新
  • v2.0.4 优化: 点击1级导航栏,默认打开对应的3级路由;修复部分bug;规范文件/变量名
  • v1.0.0 基础: 1.生成项目seed 2.添加模块

Keywords

commander

FAQs

Package last updated on 31 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts