1.0.3 • Published 3 years ago

lglv v1.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

lglv Help you quickly build the Vue project!

Install(安装)

npm install lglv -g

How to use(使用)

1、Create Project(创建项目)

Use default template

lglv create  your_project_name

Use custom template

lglv create  your_project_name  custom_template_address  

<!-- 
  custom_template_address - 项目模板下载地址
  ex: lglv create demo  https://github.com/XXX/XX.git  
 -->

2、Create component(创建子组件)

component_name 使用大写字母开头(如, Home), default path src/components

lglv addcpn component_name

or set destination(指定路径安装)

lglv addcpn component_name  -d destination_path(路径)

3、Create page(创建页面)

page_name 使用大写字母开头(如, Home), default path src/pages

lglv addpage page_name

or set destination(指定路径安装)

lglv addpage page_name -d destination_path(路径)

4、Create store(创建状态管理文件)

default path src/store/modules

lglv addstore store_name

or set destination(指定路径安装)

lglv addstore store_name -d destination_path(路径)