npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cjmld5/lowcode-materials-antd-vue

v1.0.11

Published

ant design vue for lowcode-engine-vue

Downloads

31

Readme

lowcode-materials-antd-vue

一:简介

1.1 背景:

基于开源的低代码引擎:

lowcode-eingine(https://github.com/KNXCloud/lowcode-engine-vue)

基于开源的物料协议:

1:现有的物料实现方式是通过assets.json中定义元属性的方式来实现的。

2:已知的lowcode-engine的antdv物料库低代码描述实现,示例仓库(cjmld5/lowcode-material-ant-vue - 码云 - 开源中国 (gitee.com))(目前该开源仓库Icon和标签等组件有些bug,进一步修复中)

关于出码功能:目前不支持。

二:项目初始化

pnpm install

三:开发环境下的编译和热重载

pnpm start

生产环境下的类型检测与构建

pnpm build

生产环境下发布到npm,先build再发发布

npm publish --access public

引用物料

        将npm包中的dist/assets.json中的以下两个节点:

            1:packages下的节点

            2:componets下的节点

        复制至低代码环境的资产文件中,运行低代码引擎查看物料信息

低代码物料模块支持

基于ant-design-vue的物料支持

典型场景:添加ant-design-vue物料

2. 自定义物料

          可自定义实现物料或者在现有的物料基础上组合实现物料,在构建工具生成资产信息后将资产信息放进低代码的资产文件中,就可以使用物料了。

2.1 迁移现有的ant-design-vue组件物料

    1:访问组件总览 - Ant Design Vue (antdv.com),如Button

    2:点击右侧的API查看相应的props属性,示例如下

3:在项目中添加组件文件夹