0.1.5 • Published 5 years ago

xue-ui v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Xue-ui

npm.io

本组件库仅供学习交流,请勿在生产环境中使用

官方文档

安装

克隆官方仓库或者使用 npm / yarn 安装

$ git clone git@github.com:BlameDeng/xue-ui.git

$ npm install xue-ui
$ yarn add xue-ui

使用

如果使用了 npm / yarn 安装,一般在 main.js 中如下配置:

import Vue from 'vue'
import App from 'components/app.vue'
import Xue from 'xue-ui'
import 'xue-ui/lib/xue-ui.css'
Vue.use(Xue)
new Vue({
  el: '#app',
  render: h => h(App)
})

以上代码便完成了 Xue-ui 的引入。需要注意的是,样式文件需要单独引入。

特别提醒

使用 Xue-ui 时,您需要使用 border-box 盒模型,否则会影响样式。CSS 代码示例:

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

如果您觉得还不错,请 star

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago