Local Development

Bootstrap project

With command

pnpm i

the project will install all dependencies.

Website preview

With command

pnpm docs:dev

the project will launch website for you to preview all existing component.

Local development

See Local development guide

  1. With command
pnpm dev

will start the local development environment.

  1. Add your component into play/src/App.vue


  <ComponentYouAreDeveloping />

<script setup lang="ts">
// make sure this component is registered in @element-plus/components
import { ComponentYouAreDeveloping } from '@element-plus/components'

Modify App.vue file per your needs to get things work.