
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
SMUI是一套基于Vue开发的,适用于PC的组件库
vue1.x环境版本请使用smui-pre
npm i smui --save
webpack环境自动异步导入默认皮肤样式,否则需要手动引入样式文件
import 'smui/style/skin.css'
<!-- 引入Vue -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" href="//unpkg.com/smui/style/skin.css">
<!-- 引入组件库 -->
<script src="//unpkg.com/smui/bundle.js"></script>
vue init sm-ui/webpack#v2
// smui@0.1.1 版本开始支持国际化和皮肤切换
import ui from 'smui/base/ui'
// 切换到英文版本
ui.i18n.locale = 'en'
// 切换皮肤(default, semantic, jinyang)
ui.skinName = 'semantic'
import i18n from 'smui/base/i18n'
const lang = {
en: {
NewPost: 'NewPost'
},
cn: {
NewPost: '新建文章'
}
}
i18n.extend(lang)
FAQs
smui
The npm package msui receives a total of 31 weekly downloads. As such, msui popularity was classified as not popular.
We found that msui 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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.