Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
cloud-ui.vusion
Advanced tools
npm install --save cloud-ui.vusion
import Vue from 'vue';
import * as CloudUI from 'cloud-ui.vusion/dist';
import 'cloud-ui.vusion/dist/index.css';
// 如需引入其他主题,将上面的路径替换为如下不同的主题样式
// import 'cloud-ui.vusion/dist/theme-dark.css';
Vue.use(CloudUI); // 全局安装组件库中的组件、指令等
安装
开发
构建文档
需要先npm run build
和npm run build:theme
构建用于物料体系的文档入口。
将 dist-theme/
、 screenshots
和 drawings
下的文档发布到 NOS
将 dist-theme/
、 screenshots
和 drawings
下的文档发布到 NOS
脚本会自动执行 deploy:online 等将 dist-theme/
、 screenshots
和 drawings
下的文档发布到 NOS
将dist-doc-entry/
下的文档入口发布到 NOS
yarn run build:docs
node bin/screenshot u-button
npm run deploy:screenshots u-button
存储在 drawings 里面
本工程已经完成基于 Jest + Vue Test Utils 配置
npm test
在提 PR 和发布之前都会自动运行测试,保证可靠性。
基于组件 docs/*.md
内的代码自动生成 Demo,对渲染后的 DOM 结构进行对比完成快照测试。
如果快照测试失败,请检查 DOM 结构变更是否符合预期:
npm test -- -u ${组件名称(例如u-button)}
更新后的快照文件请提交到 Git。
在组件的 __tests__
目录中新建文件编写。
vusion publish
usage.json 在低代码平台上登记。
See Releases
修改代码请阅读我们的 贡献指南。
deploy:inlcap
FAQs
Vusion Cloud UI
We found that cloud-ui.vusion demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.