Git Product home page Git Product logo

aunt-page-init's Introduction

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

aunt-page-init's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.