Vant Demo

Vant 官方示例合集。(Collection of vant demos.)

Github stars Tracking Chart

Vant Demo

English | 简体中文

The current repository is the official example repository for Vant, which includes examples related to Vant, Vant Weapp, and Vant Cli.

How to Use

  1. First, clone the current repository to your local:
git clone git@github.com:vant-ui/vant-demo.git
  1. Then, choose the example you need, such as the Vite project example:
cd vant/vite
  1. Install the dependencies using npm or other package managers, and start the project:
npm i
npm run dev
  1. You can fork the current project or directly copy the code from the current project to use.

Directory Structure

├── vant                # Examples related to Vant
│   ├── rsbuild         Building applications using Vue 3, Vant 4, and Rsbuild
│   ├── vite            Building applications using Vue 3, Vant 4, and Vite
│   ├── nuxt3           Building applications using Nuxt 3 and Vant 4
│   ├── vue3            Building applications using Vue 3, Vant 4, and Vue Cli
│   ├── vue3-ts         Building applications using Vue 3, Vant 4, TypeScript, Vite
│   ├── cdn             Importing Vant through CDN
│   ├── rem             Configuring rem adaptation
│   ├── viewport        Configuring viewport settings
│   └── typescript      Configuring TypeScript and importing on demand
│
├── vant-weapp          # Examples related to Vant Weapp
│   └── base            Building mini-programs using Vant Weapp
│
├── react-vant          # Examples related to React Vant
│   └── rsbuild         Building applications using React Vant and Rsbuild
│   └── modern-js       Building applications using React Vant, Modern.js, and Rspack
│
└── vant-cli            # Examples related to Vant Cli
    └── base            Building component libraries using Vant Cli

Main metrics

Overview
Name With Ownervant-ui/vant-demo
Primary LanguageVue
Program languageJavaScript (Language Count: 6)
Platform微信公众平台
License:MIT License
所有者活动
Created At2017-10-20 11:32:53
Pushed At2024-09-16 04:31:15
Last Commit At2024-09-16 12:31:11
Release Count0
用户参与
Stargazers Count2k
Watchers Count41
Fork Count1.2k
Commits Count141
Has Issues Enabled
Issues Count100
Issue Open Count12
Pull Requests Count25
Pull Requests Open Count0
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private