Skip to content

基于 Vue 2.0 和 Material Design 的 UI 组件库

Notifications You must be signed in to change notification settings

webTools2017/muse-ui

 
 

Repository files navigation

Muse UI

npm package NPM downloads Join the chat at https://gitter.im/muse-ui/muse-ui

Material Design UI library for Vuejs 2.0

Links

Install

npm install muse-ui -save

Get Started

import Vue from 'vue'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
Vue.use(MuseUI)

or

webpack.conf.js webpack1

{
  // ...
  module: {
    loaders: [
      // ...
      {
        test: /muse-ui.src.*?js$/,
        loader: 'babel'
      }
    ]
  },
  resolve: {
    // ...
    alias: {
      'muse-components': 'muse-ui/src'
    }
  }
}

webpack2

{
  // ...
  rules: {
    loaders: [
      // ...
      {
        test: /muse-ui.src.*?js$/,
        loader: 'babel-loader'
      }
    ]
  },
  resolve: {
    // ...
    alias: {
      'muse-components': 'muse-ui/src'
    }
  }
}

main.js

import Vue from 'vue'
import 'muse-components/styles/base.less' // 加载基础的样式
import appBar from 'muse-components/appBar'
import avatar from 'muse-components/avatar'
// ..
Vue.component(appBar.name, appBar)
Vue.component(avatar.name, avatar)

Browser Support

  • IE 10+
  • Andorid 4.4+
  • IOS 7+

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Dependencies

Licence

muse-ui is open source and released under the MIT Licence.

Copyright (c) 2016 myron

About

基于 Vue 2.0 和 Material Design 的 UI 组件库

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 55.3%
  • JavaScript 33.4%
  • CSS 11.2%
  • Shell 0.1%