守望者--AIR技术交流

标题: Vue2.0 的 Material Design UI 框架 Muse-UI [打印本页]

作者: 破晓    时间: 2016-11-22 13:31
标题: Vue2.0 的 Material Design UI 框架 Muse-UI

Muse-UI

https://museui.github.io/#/install

基于 Vue2.0 的 Material Design UI 框架

安装

1
npm install muse-ui --save

使用 

1
2
3
4
5
import Vue from 'vue'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css' // 加载样式
 
Vue.use(MuseUI)

https://www.oschina.net/img/github_logo.gif") left center no-repeat;">museui / muse-ui

Watch55 Star943 Fork97

master分支代码最近更新:2016-11-22



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

{
  // ...
  module: {
    loaders: [
      // ...
      {
        test: /muse-ui.src.*?js$/,
        loader: 'babel'
      }
    ]
  },
  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

下载zip






欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/)