open-index/open-npm huggingface dataset:
npm package: @lq_xiao_xiong/lan-component-lib
Description: low code design
Latest version: 1.1.6

# 补丁版本（1.0.0 → 1.0.1）

npm version patch

# 小版本（1.0.0 → 1.1.0）

npm version minor

# 主版本（1.0.0 → 2.0.0）

npm version major

<template>
  <div>
    <EditorTemplate :canvas-items="items" is-preview />
  </div>
</template>

<script>


# 下载依赖
npm install  @lq_xiao_xiong/lan-component-lib vxe-table echarts element-plus

# 导入组件
import { EditorTemplate } from '@lq_xiao_xiong/lan-component-lib'
import 'element-plus/dist/index.css'

# 导入样式
import '@lq_xiao_xiong/lan-component-lib/style.css'


const props = defineProps({
  isPreview: {
    type: Boolean,
    default: false
  }
})
``
// main.ts
import 'vxe-table/lib/style.css'
const CanvasItems = [
  {
    id: 'container1',
    left: 100,
    top: 100,
    width: 200,
    height: 100,
    child: []
  }
]

</script>