Skip to content
On this page

Installation

Prerequisites

  • vue >= 3
  • element-plus >= 2.3.1

Using Package Manager

shell
pnpm install everright-filter
shell
npm i everright-filter
shell
yarn add everright-filter

不同构建版本的解释

npm 包的 dist 目录会找到两种构建版本

  • without-element-plus(需提供element-plus) Default
  • with-element-plus(内置element-plus)
Excludes element-plus(default)Includes element-plus(v2.3.3)
UMDEverrightFilter-without-element-plus.umd.cjsEverrightFilter-with-element-plus.umd.cjs
ESEverrightFilter-without-element-plus.jsEverrightFilter-with-element-plus.js
IIFEEverrightFilter-without-element-plus.iife.jsEverrightFilter-with-element-plus.iife.js
cssEverrightFilter-without-element-plus.cssEverrightFilter-with-element-plus.css
点击查看element-plus哪些组件被包含其中

Includes element-plus(v2.3.3)

基于 ES modules 的 tree shaking

element-plus components
ElButton
ElCascader
ElCheckbox
ElCheckboxGroup
ElDatePicker
ElIcon
ElInput
ElInputNumber
ElOption
ElPopover
ElScrollbar
ElSelect
ElSwitch
ElTabPane
ElTabs
ElTag
ElTimePicker
ElTooltip
vLoading