- 新增:对话列表新增关键词高亮 - 新增:对话列表中含有关键词的对话使用淡红色背景 - 修改:优化次级信息配色 - 修改:优化隐患结果页右侧边栏滚动条效果 - 修改:优化隐患结果页左侧边栏滚动条效果 - 修改:视频背景改为黑色 |
||
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| .npmrc | ||
| README.md | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| uno.config.ts | ||
| vite.config.ts | ||
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.