WGinit / mobile-ui-cli

Mobile component library scaffold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Component Library

Combining Vant/CLI to quickly build a mobile component library

Usage

Install dependencies

pnpm i

develop

pnpm dev

build

pnpm build

Other commands

1、Create a new component, and the component page navigation will be updated by default after completion

pnpm component demo-table

After execution, the generated file directory is as follows:

project
├─ src
│   ├─ demo-table
            ├─  index.vue           # Component. vue
            ├─  README.md           # Component documentation
            ├─  demo
                ├─ index.vue        # Component demo display
            ├─  test
                ├─ index.spec.js    # Component unit testing culture

2、Update component routing navigation

pnpm update-nav

LICENSE

Vant is MIT licensed.

About

Mobile component library scaffold


Languages

Language:JavaScript 89.2%Language:Vue 10.8%