Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 842 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 842 Bytes

sure-ui

It borrowed from Element Plus

Install

npm i sure-ui

Usage

Add sure-ui in your main entry file.

// main.ts
import { createApp } from 'vue'
import SureUI from 'sure-ui'
import 'sure-ui/dist/index.css'

createApp(App).use(SureUI).mount('#app')

But now, Just implemented the Icon component, it can be combined with icon components implemented in sure-icons-vue

npm i sure-icons-vue

use it in your custom component file

<script setup lang="ts">
import { Wechat } from 'sure-icons-vue'
</script>

<template>
  <div class="container">
    <sure-icon color="#f40" :size="30">
      <Wechat />
    </sure-icon>
  </div>
</template>

License

MIT License © 2022 K. ( suressk )