Skip to content

little3201/server-starter

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.

Project setup

npm install
# or yarn
yarn install

Compiles and hot-reloads for development

npm run dev
# or yarn
yarn dev

Compiles and minifies for production

npm run build
# or yarn
yarn build

Usage

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

Custom theme

See src/css/element/index.scss.