Lemon UI 是一个基于Vue2.0 + Sass 的 简易UI组件库,涵盖了Button、Icon、Toast、Tabs、Collapse、Popover等组件。
开发这套组件的目的主要是为了学习与提高,同时可以将自己的成功分享出来帮助到开源社区的开发者。
Lemon-UI 是个人学习过程中造出来的UI库,如果你在使用过程中发现问题,非常感谢你提出宝贵意见。
PS:目前项目属于开发中,暂不建议在生产项目中使用。
vue create hello-world
如果你还没有安装vue-cli,请先安装vue-cli,再进行下一步。
yarn add lemon-ui-vue
#or
npm install lemon-ui-vue --save
import 'lemon-ui-vue/dist/index.css'
<script>
import 'lemon-ui-vue/dist/index.css'
import {Button} from 'lemon-ui-vue'
export default {
name: 'yourApp',
components: {
Button
}
}
</script>
<Button>第一个的按钮</Button>
Pray