0.1.7 • Published 2 years ago

aunt-page-init v0.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

AUNT-PAGE-INIT

项目用于阿姨web,帮助快速初始化页面。

安装

npm i aunt-page-init -D

使用

npx aunt-page-init init <页面名称>

流程演示

运行 & 输入

输入内容,包含页面中英文描述,英文用于生成文件夹、文件名称。中文用于生成备注、及页面title。

运行 & 输入

生成内容

内容生成概述

新生成三个文件:

src/pages/<页面名称>/App.vue
src/pages/<页面名称>/index.js
template/afe/<页面名称>.html

追加内容两个文件:

config/getPages.js
src/configs/page.js

image.png

内容生成详述

src/pages/<页面名称>/App.vue

image.png

src/pages/<页面名称>/index.js

image.png

template/afe/<页面名称>.html

image.png

config/getPages.js

image.png

src/configs/page.js

image.png

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago