yu.ui

yu vue ui components project

Usage no npm install needed!

<script type="module">
  import yuUi from 'https://cdn.skypack.dev/yu.ui';
</script>

README

YU.UI

VUE UI组件库 | VUE UI framework | pc端 | 一套简洁,小巧的基于 Vue 2.0 的桌面端组件库

使用文档 | 完整示例 | 官方网站

快速上手

npm 安装

npm install --save yu.ui

引入样式

方式一: 在html中引入

  // 例如vue项目的根目录index.html
  <link rel="stylesheet" href="https://unpkg.com/yu.ui/src/assets/yu.ui.css">

方式二: 在js中引入

  // 例如vue项目的src/main.js中
  import 'yu.ui/src/assets/yu.ui.css'

使用示例


  // 引入yu-button组件
  import { YuButton } from 'yu.ui';
  export default {
    components: { YuButton },
  }
      
  <!--使用yu-button组件-->
  <yu-button>Hello world</yu-button>