I. Overview
1. Chinese Documents
https://mint-ui.github.io/#!/en
2. Install Package
Two: mt-button use
It is to introduce the css-component
1. Programs
Write App.vue below
<template> <div> <h1>这是 App 组件</h1> <router-link to="/account">Account list</router-link> <router-link to="/goodlist">Goodslist list</router-link> <router-view></router-view> <br> <mt-button type="primary">primary</mt-button> <mt-button type="default">default</mt-button> <mt-button type="danger">danger</mt-button> <br> <mt-button size="small" type="primary">small</mt-button> <mt-button size="large" type="danger">large</mt-button> <mt-button size="normal" type="primary">normal</mt-button> <br> <mt-button disabled>disabled</mt-button> <br> <mt-button plain>plain</mt-button> <br> <mt-button icon="back">back</mt-button> <mt-button icon="more">更多</mt-button> </div> </template> <script> </script> <style> </style>
2. Effect
3: Use of toast
It is to introduce js component
1.