Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/element-plus/element-plus-vite-starter
🌰 A starter kit for Element Plus with Vite
https://github.com/element-plus/element-plus-vite-starter
element-plus vite
Last synced: 24 days ago
JSON representation
🌰 A starter kit for Element Plus with Vite
- Host: GitHub
- URL: https://github.com/element-plus/element-plus-vite-starter
- Owner: element-plus
- Created: 2020-10-27T09:27:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T12:06:42.000Z (8 months ago)
- Last Synced: 2024-04-14T05:39:41.818Z (7 months ago)
- Topics: element-plus, vite
- Language: Vue
- Homepage: https://vite-starter.element-plus.org
- Size: 114 KB
- Stars: 1,019
- Watchers: 15
- Forks: 341
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - element-plus/element-plus-vite-starter - 🌰 A starter kit for Element Plus with Vite (Vue)
- awesome - element-plus/element-plus-vite-starter - 🌰 A starter kit for Element Plus with Vite (Vue)
- awesome-element-plus - Vite Starter - A starter kit for Element Plus with Vite. [👓](https://vite-starter.element-plus.org) (Templates / Starter Template)
- awesome-element-plus - Vite Starter - A starter kit for Element Plus with Vite. [👓](https://vite-starter.element-plus.org) (Templates / Starter Template)
README
# element-plus-vite-starter
> A starter kit for Element Plus with Vite
- Preview:
This is an example of on-demand element-plus with [unplugin-vue-components](https://github.com/antfu/unplugin-vue-components).
> If you want to import all, it may be so simple that no examples are needed. Just follow [quickstart | Docs](https://element-plus.org/zh-CN/guide/quickstart.html) and import them.
If you just want an on-demand import example `manually`, you can check [unplugin-element-plus/examples/vite](https://github.com/element-plus/unplugin-element-plus/tree/main/examples/vite).
## Project setup
```bash
npm install
```### Compiles and hot-reloads for development
```bash
npm run dev
```### Compiles and minifies for production
```bash
npm run build
```## Usage
```bash
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`.