0.3.2 • Published 3 years ago

vimi-ui v0.3.2

Weekly downloads
20
License
MIT
Repository
github
Last release
3 years ago

npm npm npm

Install

npm install vimi-ui -S

Quick Start

Global Use

import Vue from 'vue'
import vimi from 'vimi-ui'
import "vimi-ui/lib/styles/index.css";

Vue.use(vimi)

On-demand Loading

Firstly, you should install babel-plugin-component in your project.

npm i babel-plugin-component -D

Then, configure your .babelrc file like this

{
  "plugins": [
    [
      "component",
      {
        "libraryName": "vimi-ui",
        "styleLibrary": {
          "name": "styles",
          "base": false
        }
      }
    ]
  ]
}

Finally, you can import component on demand, and you don't need to care about importing styles, the babel plugin will do it automaticly.

import Vue from 'vue'
import { Button } from 'vimi-ui'

Vue.component(Button.name, Button)

Development

You can clone this project to the local and run it.

git clone https://github.com/csdoker/vimi-ui.git
cd vimi-ui
npm install
npm run serve

Todo List

  • Button
  • Checkbox
  • Input
  • Switch
  • Icon
  • Tabs
  • Pager
  • Carousel
  • Tree
  • Preview demo and docs online
  • Use Vue3 to refactor component(Doing and need help)
  • Support TypeScript
  • Component unit testing ...

Reference

This project references some other UI libraries, including design and code. Thanks to these open source community contributors.

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago