Skip to content

chipmunktail/AsheUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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