Go to file
yueliuli 1c5168f8a1 基础 2026-04-15 09:47:32 +08:00
.vscode 基础 2026-04-15 09:47:32 +08:00
public 基础 2026-04-15 09:47:32 +08:00
src 基础 2026-04-15 09:47:32 +08:00
.gitignore 基础 2026-04-15 09:47:32 +08:00
.npmrc 基础 2026-04-15 09:47:32 +08:00
README.md 基础 2026-04-15 09:47:32 +08:00
eslint.config.js 基础 2026-04-15 09:47:32 +08:00
index.html 基础 2026-04-15 09:47:32 +08:00
package.json 基础 2026-04-15 09:47:32 +08:00
pnpm-lock.yaml 基础 2026-04-15 09:47:32 +08:00
tsconfig.json 基础 2026-04-15 09:47:32 +08:00
uno.config.ts 基础 2026-04-15 09:47:32 +08:00
vite.config.ts 基础 2026-04-15 09:47:32 +08:00

README.md

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.