0.1.55 • Published 2 years ago
sh-vue3-components v0.1.55
sh-vue3-components 基于vue3前端组件库
完整引入
// main.js
import SHElement from 'sh-vue3-components';
import 'sh-vue3-components/dist/style/theme.scss';
import 'sh-vue3-components/dist/style/index.scss';
app.use(SHElement, ?option);
按需导入
<Button>按钮</Button>
import { Button } from 'sh-vue3-components';
// main.js
import 'sh-vue3-components/dist/style/theme.scss';
import 'sh-vue3-components/dist/style/button.scss';
用户引导
- 安装数环vue3组件库
npm install sh-vue3-components --save
- 引入
import { introJs } from "sh-vue3-components/dist/utils";
- 使用
// 确保所有的 element dom已经渲染完毕,才能调用 introJs
introJs({
steps: [
{
intro: "Hello World! 👋", // 介绍文案
element: ".element", // dom
},
{
intro: "highlight elements ✨",
element: "#element",
},
{
intro: "And this is our third step!",
placement: "left", // 定义弹窗位置, 默认 bottom-start
element: "#element > div",
},
{
intro: "And this is the last step!",
element: ".g-fs-14.g-m-r-20",
},
],
});
0.1.52
2 years ago
0.1.53
2 years ago
0.1.54
2 years ago
0.1.10
2 years ago
0.1.55
2 years ago
0.1.11
2 years ago
0.1.12
2 years ago
0.1.13
2 years ago
0.1.14
2 years ago
0.1.15
2 years ago
0.1.50
2 years ago
0.1.51
2 years ago
0.1.49
2 years ago
0.1.41
2 years ago
0.1.42
2 years ago
0.1.43
2 years ago
0.1.44
2 years ago
0.1.45
2 years ago
0.1.46
2 years ago
0.1.47
2 years ago
0.1.48
2 years ago
0.1.40
2 years ago
0.1.38
2 years ago
0.1.39
2 years ago
0.1.30
2 years ago
0.1.31
2 years ago
0.1.32
2 years ago
0.1.33
2 years ago
0.1.34
2 years ago
0.1.35
2 years ago
0.1.36
2 years ago
0.1.37
2 years ago
0.1.27
2 years ago
0.1.28
2 years ago
0.1.29
2 years ago
0.1.20
2 years ago
0.1.21
2 years ago
0.1.22
2 years ago
0.1.23
2 years ago
0.1.24
2 years ago
0.1.25
2 years ago
0.1.16
2 years ago
0.1.17
2 years ago
0.1.18
2 years ago
0.1.19
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago