2o3t-ui
2O3T-UI
Documentation
Visit 2o3t.cn.
init
import '2o3t-icon-font/dist/font-ot.css';
import '2o3t-ui/libs/styles.css';
import OTUI from '2o3t-ui';
// 三方库
const hljs = require('highlight.js');
const markdownit = require('markdown-it');
const cheerio = require('cheerio');
const clipboard = require('clipboard-polyfill');
Vue.use(OTUI, {
global: true,
plugins: {
markdownit,
cheerio,
clipboard,
hljs,
},
});
or 引入 CDN
<script src="https://cdn.bootcss.com/highlight.js/9.13.1/highlight.min.js"></script>
<script src="https://cdn.bootcss.com/markdown-it/8.4.2/markdown-it.min.js"></script>
<script src="https://cdn.bootcss.com/clipboard-polyfill/3.0.0-beta3/clipboard-polyfill.promise.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script>
import '2o3t-icon-font/dist/font-ot.css';
import '2o3t-ui/libs/styles.css';
import OTUI from '2o3t-ui';
Vue.use(OTUI, {
global: true,
});
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.16 | ^2.5.17 | MIT | |
| 0.1.15 | ^2.5.17 | MIT | |
| 0.1.14 | ^2.5.17 | MIT | |
| 0.1.13 | ^2.5.17 | MIT | |
| 0.1.12 | ^2.5.17 | MIT | |
| 0.1.11 | ^2.5.17 | MIT | |
| 0.1.10 | ^2.5.17 | MIT | |
| 0.1.9 | ^2.5.17 | MIT | |
| 0.1.8 | ^2.5.17 | MIT | |
| 0.1.7 | ^2.5.17 | MIT | |
| 0.1.6 | ^2.5.17 | MIT | |
| 0.1.5 | ^2.5.17 | MIT | |
| 0.1.4 | ^2.5.17 | MIT | |
| 0.1.3 | ^2.5.17 | MIT | |
| 0.1.2 | ^2.5.17 | MIT | |
| 0.1.1 | ^2.5.17 | MIT | |
| 0.0.106 | ^2.5.17 | MIT | |
| 0.0.105 | ^2.5.17 | MIT | |
| 0.0.104 | ^2.5.17 | MIT | |
| 0.0.103 | ^2.5.17 | MIT | |
| 0.0.102 | ^2.5.17 | MIT | |
| 0.0.101 | ^2.5.17 | MIT | |
| 0.0.98 | ^2.5.17 | MIT | |
| 0.0.97 | ^2.5.17 | MIT | |
| 0.0.96 | ^2.5.17 | MIT | |
| 0.0.95 | ^2.5.17 | MIT | |
| 0.0.94 | ^2.5.17 | MIT | |
| 0.0.93 | ^2.5.17 | MIT | |
| 0.0.92 | ^2.5.17 | MIT | |
| 0.0.91 | ^2.5.17 | MIT |
Showing the latest 30 of 115. See every release on npm