Material Design UI library for Vuejs 2.0
npm install muse-ui -save
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)
- IE 10+
- Andorid 4.4+
- IOS 7+
Detailed changes for each release are documented in the release notes.
Please make sure to read the Contributing Guide before making a pull request.
muse-ui is open source and released under the MIT Licence.
Copyright (c) 2016 myron