ninja-ui

an excellent UI library,built with Vue.js
227 1
Install
npm install ninja-ui
Latest Version:0.0.3
Vue:2
License:MIT
Last Updated:Jan 4, 2023
Links: GitHub  ·  npm
Maintainer: yangeee

Ninja-ui - 一个 UI 组件

Build Status

介绍

一个上手简单、美观精细的 Vue-UI 框架,如同忍者刀刃出鞘,手起刀落,一气呵成~

开始使用

  1. 添加 CSS 样式

    使用本框架前,请在 CSS 中开启 border-box

    *{box-sizing: border-box;}
    *::before{box-sizing: border-box;}
    *::after{box-sizing: border-box;}
    

    IE8 及以上浏览器都支持此样式

    你还需要设置默认颜色等变量(后续会改为 SCSS 变量)

    :root {
        --button-height: 32px;
        --font-size: 14px;
        --button-bg: white;
        --border-radius: 4px;
        --button-active-bg: #eee;
        --color: #333;
        --border-color: #999;
        --border-color-hover: #666;
    }
    

    IE15 及以上浏览器都支持此样式

  2. 安装Ninja-ui

    npm i --save ninja-ui
    
  3. 引入Ninja-ui

    import {Button,Icon,ButtonGroup} from 'ninja-ui'
    import 'ninja-ui/dist/index.css' 
    export default {
    name: 'app',
    components: {
        'n-button': Button,
        'n-icon': Icon
    }
    }
    

文档

提问

变更记录

联系方式

贡献代码

Related Packages

seeroad-ui

seeroad project ui library

3,733
ui
smart-ui

High Quality Mobile UI Componets by Vue.js 2.

1,883 11
ui
hea-ui

hea-ui is a h5 ui component for vue

1,520 14
ui
canna-ui-vue

shims-vue.d.ts declare module 'canna-ui-vue'

674
ui

Version History

Version Released Vue License
0.0.3 ^2.6.10 MIT
0.0.2 ^2.6.10 MIT
0.0.1 ^2.6.10 MIT