npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

e-plus-ui

v1.5.1

Published

一个基于element-plus的封装组件库,高效、简单

Downloads

234

Readme

版本

NPM dev or peer Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version

介绍

NPM VersionNPM Downloads

EPlus-UI,一个精心打造的基于element-plus的组件库,EPlus-UI旨在消除冗余代码,让开发过程变得更为高效、流畅,强调灵活性和可配置性。 它允许开发者通过简单的配置操作,轻松调整组件的行为和交互逻辑。在开发过程中,EPlus-UI提供了丰富的文档和示例代码,帮助开发者快速上手并理解组件的使用方法和最佳实践

安装使用

本节将介绍如何在项目中使用 EPlus-UI

安装

使用 npm 或 yarn 安装

npm install e-plus-ui
yarn add e-plus-ui

引入 e-plus-ui

完整引入

需要注意的是 css 样式文件需要单独引入。

在 main.js 中写入以下内容:

import { createApp } from 'vue';
import App from './App.vue';
// 导入组件库
import EPlusUI from 'e-plus-ui';
import 'e-plus-ui/lib/index.css'

const app = createApp(App);
app.use(EPlusUI);
app.mount('#app');

愉快开始

至此 EPlus-UI 就引入完成并且可以使用了。

<!-- html -->
<ep-button>默认按钮</ep-button>
<ep-button type="primary">主要按钮</ep-button>

按需引用

您可以根据个人需要使用按需引用组件,按需引用时不需要使用 app.use() 方法注册。

/*js*/
import { EpButton } from 'e-plus-ui';
<!-- html -->
<ep-button>点击</ep-button>