[Vuejs]-How to import module in Vue.js project properly?

0👍

mint-ui doc guide:
https://mint-ui.github.io/docs/#/en2

import mint-ui:
<!-- import CSS -->
<link rel="stylesheet" href="https://unpkg.com/mint-ui/lib/style.css">
<!-- import JavaScript -->
<script src="https://unpkg.com/mint-ui/lib/index.js"></script>

usage:
<div id="app">
    <mt-button @click="handleClick">Button</mt-button>
</div>

Leave a comment