ooojs

1.0.0 • Public • Published

ooojs

how to install?

npm install -g ooojs

Create a project

Currently ooojs only supports vue, cli has already configured it for you

  • Common directory structure
  • axios
  • vue-router
  • vuex
  • vue.config.js Create project
ooojs create <project>[^project]: Your project name For example: ooojs create demo

Automatically pull the z-vue-template project template, automatically open http://localhost:8080/, start the project

Create components

ooojs addcpn <component>[^component]: Your component name For example: ooojs addcpn HelloWold

Create a page

Routes are automatically configured during page creation

ooojs addpage <profile>[^profile]: Your page name For example: ooojs addpage profile

ooojs

如何安装?

npm install -g ooojs

创建项目

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

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

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

创建组件

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

创建页面

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

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

Readme

Keywords

Package Sidebar

Install

npm i ooojs

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

13.7 kB

Total Files

18

Last publish

Collaborators

  • coderz_y