
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
sh-vue3-components
Advanced tools
// 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';
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",
},
],
});
FAQs
基于vue3前端组件库
The npm package sh-vue3-components receives a total of 53 weekly downloads. As such, sh-vue3-components popularity was classified as not popular.
We found that sh-vue3-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.