Skip to content

element-plus/element-plus-vite-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

777f1bf Β· Dec 12, 2024

History

62 Commits
Dec 12, 2024
Dec 12, 2024
May 21, 2023
Dec 12, 2024
Nov 22, 2024
Aug 13, 2022
Nov 22, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Nov 22, 2024
Dec 12, 2024

Repository files navigation

element-plus-vite-starter

A starter kit for Element Plus with Vite

This is an example of on-demand element-plus with unplugin-vue-components.

If you want to import all, it may be so simple that no examples are needed. Just follow quickstart | Docs and import them.

If you just want an on-demand import example manually, you can check unplugin-element-plus/examples/vite.

If you want to a nuxt starter, see element-plus-nuxt-starter.

Project setup

pnpm install

# npm install
# yarn install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Usage

git clone https://github.com/element-plus/element-plus-vite-starter
cd element-plus-vite-starter
npm i
npm run dev

Custom theme

See src/styles/element/index.scss.