Skip to content

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

# we recommend using pnpm to install dependencies
pnpm install

# if you are using npm or yarn, please install dependencies manually
# npm install
# yarn install

Compiles and hot-reloads for development

pnpm dev

Compiles and minifies for production

pnpm build

Usage

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

Custom theme

See src/styles/element/index.scss.

About

🌰 A starter kit for Element Plus with Vite

Topics

Resources

Stars

1.4k stars

Watchers

15 watching

Forks

Releases

Packages

Contributors

Languages