Giter VIP home page Giter VIP logo

Comments (9)

xaboy avatar xaboy commented on July 29, 2024 1

感谢反馈, 我这边检查一下 @starSinking

from form-create-designer.

starSinking avatar starSinking commented on July 29, 2024
  1. 本地起来正常的的长这样:

好的1
好的2
好的3

  1. vite打包之后出问题:

坏的1
坏的2
坏的3

这是vite配置的问题吗?

from form-create-designer.

xaboy avatar xaboy commented on July 29, 2024

是不是打包的时候没有把 form-create 打包进去

from form-create-designer.

starSinking avatar starSinking commented on July 29, 2024

不会吧,我在main.js中注释掉引入的designer,保留form-create,单独使用form-create的情况下打包好是正常的,引入designer就报错了。

from form-create-designer.

starSinking avatar starSinking commented on July 29, 2024

我用vite重新创建了一个干净的项目,下载好element plus以及form-create-designer后打包好还是报同样的错
image

image
image

from form-create-designer.

xaboy avatar xaboy commented on July 29, 2024

image

手动修改一下 @form-create/deisnger 包中 package.json 文件,然后重新打包试试 @starSinking

    "unpkg": "./dist/index.umd.js",
    "jsdelivr": "./dist/index.umd.js",
    "typings": "./types/index.d.ts",
    "main": "./dist/index.umd.js",
    "module": "./dist/index.es.js",
    "exports": {
        ".": {
            "import": "./dist/index.es.js",
            "require": "./dist/index.umd.js"
        }
    },

from form-create-designer.

starSinking avatar starSinking commented on July 29, 2024

好了,感谢

from form-create-designer.

xaboy avatar xaboy commented on July 29, 2024

好的, 下个版本修复

from form-create-designer.

xaboy avatar xaboy commented on July 29, 2024

3.0.2版本已修复

from form-create-designer.

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.