Coder Social home page Coder Social logo

Comments (6)

LeoYuan avatar LeoYuan commented on May 5, 2024

报错第二条是 engine-core.js 没有找到,url 是什么?

建议直接给一个可以复现的仓库~

from lowcode-engine.

lijiaxu1996 avatar lijiaxu1996 commented on May 5, 2024

报错第二条是 engine-core.js 没有找到,url 是什么?

建议直接给一个可以复现的仓库~

老哥,你的意思是直接在官方demo上面进行修改么,我是想自己编写源码组件,然后把它转化成低代码组件,但是不知道怎么操作,这个问题卡了两天了

from lowcode-engine.

LeoYuan avatar LeoYuan commented on May 5, 2024

检查一下你的 engine-core.js 到底是哪个 url,理论上直接访问 cdn 肯定是没问题的,是不是你本地代理了?

再次声明,明确的写出你的复现步骤是最快解决问题的方式~

from lowcode-engine.

lijiaxu1996 avatar lijiaxu1996 commented on May 5, 2024

好,我试试

from lowcode-engine.

github-actions avatar github-actions commented on May 5, 2024

你好 @lijiaxu1996,由于缺乏必要的信息(如 bug 重现步骤、引擎版本信息 等),无法定位问题,请按照 issue bug 模板 补全信息。

from lowcode-engine.

lijiaxu1996 avatar lijiaxu1996 commented on May 5, 2024

新增组件问题详细描述

  1. https://www.yuque.com/lce/doc/funcv8 我是参考这里的步骤进行新增组件的
  2. 使用npm start的时候页面可以打开

image

3. npm run lowcode:dev 的时候预览不了,确实是URL问题

image

4. 我看页面里面使用的是cdn加载的方式,但是engine-core.js打不开,urldev开头的打不开

image

image

---

复现bug

  1. npm init @alilc/element my-table
  2. 选择pc-单包
  3. cd my-table && npm i
  4. npm start 可以正常访问
  5. 运行 npm run lowcode:dev 出现问题了
  6. 运行npm run lowcode:build 生成的designer.html里面查看engine-core.js的cdnURL访问不了

预期行为

希望能够成功预览自己新增的组件,并能进行低代码拖拽操作

环境

  • 1.0.1 / 低代码引擎版本
  • 98.0.4758.109(正式版本) (x86_64)
  • node v14.18.1

from lowcode-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.