Local Development
Bootstrap project
With command
shell
pnpm i
the project will install all dependencies.
Website preview
With command
shell
pnpm docs:dev
the project will launch website for you to preview all existing component.
Local development
- With command
shell
pnpm dev
will start the local development environment.
- Add your component into
play/src/App.vue
App.vue
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.