1.0.2 • Published 4 years ago

woker v1.0.2

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

woker

如何安装?

npm install -g woker

创建项目

目前woker仅支持vue,cli已经帮你配置了

  • 常用的目录结构
  • axios
  • vue-router
  • vuex
  • vue.config.js 创建项目
woker create <project>[^project]: 你的项目名称 例如: woker create demo

自动拉取z-vue-template项目模板,自动打开 http://localhost:8080/、启动项目

创建组件

woker addcpn <component>[^component]: 你的组件名称 例如: woker addcpn HelloWold

创建页面

创建页面过程中会自动配置路由

woker addpage <profile>[^profile]: 你的页面名称 例如: woker addpage profile