ashe-ui

1.0.16 • Public • Published

AsheUI

Material design ui for vue2

中文

Installation

Install the component in the root directory of the project:

npm install ashe-ui -s

Usage (example)

  1. Import AsheUI at the entry of your project:
import AsheUI from 'ashe-ui'
Vue.use(AsheUI,Vue)
  1. Instantiation in the template of the Vue component:
<d-news :newsObj=news />
  1. d-news props data explain

The component receives the data through the 'newsObj':

data() {
  return {
    news: {
          type: 5,
          imgList: ["https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/vue/vue.png"],
          title:'This is title',
          time: 'This is date',
          author: 'author or other content'
      },
    }
}

props

todo this

  • news
  • slideDown
  • loading
  • verification
  • scrollbar object{withd,height,theme}

Webpack

webpack

Other

Component list

  • news
  • slideDown
  • loading
  • verification
  • scrollbar

View on github

Package Sidebar

Install

npm i ashe-ui

Weekly Downloads

1

Version

1.0.16

License

ISC

Unpacked Size

515 kB

Total Files

5

Last publish

Collaborators

  • hjdtl