
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Elf-design /elf/ 是一个基于 Web Components 的 UI 组件库。它是一个不局限于框架的组件复用(可在 Angular、React、Vue 等跨技术栈使用)。
<script type="module" src="https://unpkg.com/elfd@latest/index.js"></script>
当作原生 dom 元素直接使用即可。
ps:直接使用 Web Component 会告警:
Unknown custom element: <user-card> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
因此请先注册需要忽略的标签:
Vue.config.ignoredElements = [
'user-card',
// 用一个 `RegExp` 忽略所有“ion-”开头的元素
// 仅在 2.5+ 支持
/^ion-/
]
同理,当作原生 dom 元素直接使用即可。
elf is released under the MIT License. See the bundled LICENSE file for details.
FAQs
Mobile UI Components built on Web Components.
We found that elfd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.