With command
$ pnpm gen component-nameNote the component-name must be in kebab-case, combining words by replacing each space with a dash.
And component type must be added to typings/global.d.ts.
With command
$ pnpm ithe project will install all dependencies
With command
$ pnpm docs:gen-locale
$ pnpm docs:devthe project will launch website for you to preview all existing component
- With command
$ pnpm devwill start the local development environment
- Add your component into
play/src/App.vue
App.vue
<template>
<ComponentYouAreDeveloping />
</template>
<script setup lang="ts">
// make sure this component is registered in @element-plus/components
import { ComponentYouAreDeveloping } from '@element-plus/components'
</script>Modify App.vue file per your needs to get things work.