earthsdk-ui

基于 vue3、element-plus、earthsdk3 构建的 EarthSDK UI 组件库,提供丰富的 UI 组件和指令,支持按需引入和全局引入。
11,530
Install
npm install earthsdk-ui
Latest Version:2.5.2
Vue:3
License:ISC
Last Updated:Sep 11, 2026
Links: npm
Maintainer: suplyang

安装

文档

earthsdkui官方文档

yarn


yarn add earthsdk-ui --save

npm


npm i earthsdk-ui --save

使用

全局引入

在main.js中

import { createApp } from 'vue';
import App from './App.vue';
// 完整引入组件库
import 'earthsdk-ui/lib/style.css';
import EarthSDKUI from 'earthsdk-ui';

const app = createApp(App);
// 全局注册
app.use(EarthSDKUI);
app.mount('#app');

组件当中

<es-icon name="shouye" color="red"></es-icon>

按需引入

组件当中

<script setup>

import { ESIcon } from 'earthsdk-ui';

</script>

<template>
 
<es-icon name="shouye" color="red"></es-icon>

</template>

<style scoped>
</style>

Related Packages

@element-plus/nuxt

Element Plus module for Nuxt

830,141 176
monose-component-vue

Vue3 ElementPlus 二次封装组件库

3,327
zb-ep

vue3 and element-plus components

2,744
slb_public_components

This is a Vue3 + ts + ELement-Plus pulic components.

1,804
zb-ry

vue3 and element-plus components

1,547

Version History

Version Released License
2.5.2 ISC
2.5.1 ISC
2.5.0 ISC
2.4.3 ISC
2.4.2 ISC
Pre-releases (70)
Version Released License
2.0.0-beta.2 ISC
2.0.0-beta.1 ISC
1.4.0-beta.2 ISC
1.4.0-beta.1 ISC
1.0.5-beta-17 ISC