vue-cli-plugin-zhleslint-lib
v1.0.0
Published
中惠旅vue规范
Downloads
7
Readme
中惠旅vue项目统一项目结构插件
版本
V0.01
技术栈
vue-cli-plugin
环境依赖
nodejs + npm
项目描述
用于初始化项目结构和eslint 统一代码管理
使用方式
在新项目中 vue add vue-cli-plugin-zhlTemplate-lib
发布方式
npm config set registry http://www.npmjs.org // 切换官方NPM源
npm login // 登录
npm publish // 发布
目录结构
zht_base-admin
└─── generator // 负责偏好对话、调用 generator 和安装依赖
│ └─── portalDoc // 注入项目示列
│ │ index.js // generator 入口文件
│ index.js // 负责管理内部的 webpack 配置、暴露服务和构建项目的命令等。
│ prompts.js // 内建插件的对话
│ package.json // npm相关信息
│ README.md // 工程说明