
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@apform-ui/plugins
Advanced tools
@schema-ui 插件扩展,提供国际化、埋点、权限等 Vue 插件。
npm install @apform-ui/plugins vue
| 插件 | 说明 |
|---|---|
createI18nPlugin | 轻量国际化 |
createAnalyticsPlugin | 轻量埋点 |
createPermissionPlugin | 权限指令 |
import { createI18nPlugin, useI18n } from '@apform-ui/plugins'
const i18n = createI18nPlugin({
locale: 'zh-CN',
messages: {
'zh-CN': { hello: '你好', greeting: '你好,{name}' },
'en': { hello: 'Hello', greeting: 'Hello, {name}' },
},
})
app.use(i18n)
<script setup>
import { useI18n } from '@apform-ui/plugins'
const { t, setLocale } = useI18n()
</script>
<template>
<p>{{ t('hello') }}</p>
<p>{{ t('greeting', { name: '张三' }) }}</p>
</template>
import { createAnalyticsPlugin, track } from '@apform-ui/plugins'
app.use(createAnalyticsPlugin({
onTrack: (event) => {
// 上报到你的分析平台
console.log('track:', event)
},
}))
track('button_click', { button: 'save' })
import { createPermissionPlugin, usePermission } from '@apform-ui/plugins'
const perm = createPermissionPlugin({
getPermissions: async () => {
const res = await fetch('/api/permissions')
return res.json()
},
})
app.use(perm)
await perm.loadPermissions()
<template>
<!-- 有权限才渲染 -->
<button v-permission="'user:delete'">删除</button>
<button v-permission="['user:edit', 'user:delete']">编辑</button>
</template>
FAQs
@schema-ui 插件扩展 — 国际化/埋点/权限指令
We found that @apform-ui/plugins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.