1.2.0 • Published 4 years ago

dscloudy-cli v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

dscloudy-cli

关于 dscloudy-cli

dscloudy-cli 是用于创建当下主流 Vue + Spring Cloud 前后端分离、微服务架构应用 的命令行工具。

规划及进度

主要功能及完成进度如下:

  • 快速创建前端单体应用 已发布
  • 快速添加前端模块 已发布
  • 前端组件库 开发中
  • 微前端 大厅工程脚手架 未开始
  • 微前端 服务工程脚手架 未开始
  • 微服务 - 基础工程 待发布
  • 微服务 - 网关 待发布
  • 微服务 - 认证中心 待发布
  • 微服务 - 用户、角色、权限管理 开发中
  • 微服务 - 服务监控、链路跟踪 开发中
  • 微服务 - 服务脚手架 开发中

技术栈

前端:Vue 超级全家桶

Vue + VueX + Vue Router + Axios + Element UI + MockJS 等

后端: Spring 超级全家桶

Spring Boot + Spring Cloud + Spring Security OAuth

使用方法

  1. 全局安装 dscloudy 命令
npm install -g dscloudy-cli
  1. 创建项目

dscloudy 工具支持创建三种类型的前端工程:

  • 前端单体项目(已完成): 整个应用只有一个工程。所有模块都在该工程中进行开发。
  • 微前端大厅工程(暂不可用,脚手架还在开发中): 采用微前端架构模式,该项目为微前端架构中的大厅,承载其他服务。
  • 微前端服务工程(暂不可用,脚手架还在开发中): 采用微前端架构模式,大厅中的每一个服务。

2.1 创建单体前端工程

dscloudy create single 项目名

dscloudy c single 项目名

2.2 创建微前端服务工程(暂不支持)

dscloudy create service 项目名

dscloudy c service 项目名
  1. 为前端工程添加 module
dscloudy module add 模块名

dscloudy m add 模块名
1.2.0

4 years ago

1.1.6

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago