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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-lowcode-platform

v1.0.3

Published

Vue低代码表单平台组件 - 支持拖拽生成表单

Readme

Vue Lowcode Platform

Vue低代码表单平台组件 - 支持拖拽生成表单

特性

  • 🎯 拖拽生成:通过拖拽组件快速生成表单
  • 🎨 可视化配置:可视化配置组件属性
  • 📦 组件丰富:支持输入框、按钮、选择器等多种组件
  • 🔧 高度可定制:支持自定义组件和配置
  • 📤 配置导出:支持导出完整的表单配置
  • 🎪 ElementUI集成:基于ElementUI组件库

安装

npm install vue-lowcode-platform

使用

基础用法

<template>
  <div id="app">
    <LowCodePlatform />
  </div>
</template>

<script>
import LowCodePlatform from 'vue-lowcode-platform'

export default {
  name: 'App',
  components: {
    LowCodePlatform
  }
}
</script>

自定义组件类型

<template>
  <div id="app">
    <!-- 只显示输入框和按钮组件 -->
    <LowCodePlatform :componentTypes="['el-input', 'el-button']" />
  </div>
</template>

<script>
import LowCodePlatform from 'vue-lowcode-platform'

export default {
  name: 'App',
  components: {
    LowCodePlatform
  }
}
</script>

作为Vue插件使用

import Vue from 'vue'
import LowCodePlatform from 'vue-lowcode-platform'

Vue.use(LowCodePlatform)

命名导入

import { 
  LowCodePlatform, 
  ComponentPanel, 
  componentList 
} from 'vue-lowcode-platform'

依赖要求

  • Vue ^2.6.0
  • ElementUI ^2.15.0
  • vuedraggable ^2.24.3

API

组件

LowCodePlatform

主要的低代码平台组件

Props:

  • componentList (Array): 自定义组件列表
  • initialConfig (Object): 初始配置

Events:

  • config-change: 配置变更时触发
  • export-config: 导出配置时触发

ComponentPanel

组件面板组件

Props:

  • componentList (Array): 组件列表
  • draggable (Boolean): 是否可拖拽

Events:

  • dragstart: 开始拖拽时触发

配置

componentList

组件配置列表

[
  {
    type: 'el-input',
    label: '输入框',
    defaultProps: {
      field: 'input1',
      label: '输入框',
      placeholder: '请输入内容'
    }
  }
]

开发

# 安装依赖
npm install

# 开发模式
npm run dev

# 构建
npm run build

许可证

MIT