
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
基于 VUE 的前端 PC 端 UI 组件库
npm install @58fe/p5 --save
导入需要的组件,例如:
import { Loading } from '@58fe/p5';
支持的插件有
支持自定义状态,内容,按钮等
如过需要按需加载指定组件,需要配合 bable-plugin-p5-import 插件使用
npm install bable-plugin-p5-import --save-dev
在.babelrc 文件添加如下配置
{
"plugins": [
[
"@58fe/babel-plugin-p5-import"
]
]
}
原因是 P5 的样式是基于 sass 编写的,所以需要依赖以下两个 npm 包:
npm install sass-loader node-sass --save-dev
原因是 P5 的 js 源码没进行 babel 转译,可以在 webpack 配置中的增加以下 loaders:
{
test: /p5.src.*?js$/,
loader: "babel-loader"
}
FAQs
pc端vue组件
The npm package @58fe/p5 receives a total of 7 weekly downloads. As such, @58fe/p5 popularity was classified as not popular.
We found that @58fe/p5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.