Skip to content

muijs/vue-mui

Repository files navigation

vue-mui

Mobile UI elements for Vue 2.x

Documentation

documentation

Installation

npm install muijs-vui --S

Usage

Import all components.

import Vue from 'vue';
import vui from 'muijs-vui';

Vue.use(vui);

Or import specified component.

import { Button, List } from 'muijs-vui';

Vue.component(Button.name, Button);
Vue.component(List.name, List);

Import CSS.

import 'muijs-vui/dist/css/vue-mui.css';

Development

Clone or download this repository

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm run dev

# build for production with minification
npm run build