Try Vant in the Playground. Currently only Vant 3+ is supported
28
stars
182
commits
TypeScript
primary language
Sep 1, 2026
updated
This is an Vant SFC Playground. Click the vercel.app Or zhixiaoqiang.github.io link to view.

NOTE! The reason why this is designed to manually
import { injectVant }is to be more universally compatible with any component library, Not only Vant.
Try Vant in the Playground. Currently only Vant 3+ is supported
coming soon
This SFC Playground has some additional tools already setup for you:
Use this template, and clone your repo degit https://github.com/zhixiaoqiang/sfc-playground-vant#main or git clone https://github.com/zhixiaoqiang/sfc-playground-vant --depth 1. degitsrc
├── components
│ └── npm-version-switch
│ ├── helps.ts # add version switch feature
├── config.ts # config welcome code、CDN、additionalFiles...
├── store.ts # includes base functions...
then it'll be your repository totally.
To build the playground, run the following command:
pnpm build
To develop the playground, run the following command:
pnpm dev
pnpm changeset to add a changeset.pnpm changeset version to change CHANGELOG.md.pnpm changeset publish to publish npm library. [can skip]git commit, this command will trigger lint-staged and commitzen.git push to trigger Github Actions or vercel DeployPlease refer to CHANGELOG for details.
Inspired by Evan You's Vue SFC Playground
MIT
138 commits
44 commits
TypeScript
43.2%
Vue
29.4%
JavaScript
24.4%
HTML
2.7%
Try Vant in the Playground. Currently only Vant 3+ is supported
28
stars
182
commits
TypeScript
primary language
Sep 1, 2026
updated
This is an Vant SFC Playground. Click the vercel.app Or zhixiaoqiang.github.io link to view.

NOTE! The reason why this is designed to manually
import { injectVant }is to be more universally compatible with any component library, Not only Vant.
Try Vant in the Playground. Currently only Vant 3+ is supported
coming soon
This SFC Playground has some additional tools already setup for you:
Use this template, and clone your repo degit https://github.com/zhixiaoqiang/sfc-playground-vant#main or git clone https://github.com/zhixiaoqiang/sfc-playground-vant --depth 1. degitsrc
├── components
│ └── npm-version-switch
│ ├── helps.ts # add version switch feature
├── config.ts # config welcome code、CDN、additionalFiles...
├── store.ts # includes base functions...
then it'll be your repository totally.
To build the playground, run the following command:
pnpm build
To develop the playground, run the following command:
pnpm dev
pnpm changeset to add a changeset.pnpm changeset version to change CHANGELOG.md.pnpm changeset publish to publish npm library. [can skip]git commit, this command will trigger lint-staged and commitzen.git push to trigger Github Actions or vercel DeployPlease refer to CHANGELOG for details.
Inspired by Evan You's Vue SFC Playground
MIT
138 commits
44 commits
TypeScript
43.2%
Vue
29.4%
JavaScript
24.4%
HTML
2.7%