GithubHelp home page GithubHelp logo

G6VP中导出的ESM源码,本地运行之后前端组件全部铺开展示(The ESM source code exported from G6VP, after running locally, displays all frontend components expanded) about g6vp HOT 2 OPEN

keepon-01 avatar keepon-01 commented on July 24, 2024
G6VP中导出的ESM源码,本地运行之后前端组件全部铺开展示(The ESM source code exported from G6VP, after running locally, displays all frontend components expanded)

from g6vp.

Comments (2)

keepon-01 avatar keepon-01 commented on July 24, 2024

问题已经解决,在本地跑ESM的代码,需要将对应包中的/dist/index.css link到index.html中进行渲染,比如@antv/gi-assets-advance包等,才能够正常显示。
目前网站上导出ESM源码中没有index.html,所以我认为ESM中应该生成正确的index.html文件和内容,从而让用户导出到本地进行正确的运行

from g6vp.

404area avatar 404area commented on July 24, 2024

ESM导出的源码是让集成到react中使用的吧,还有官网的demo,我发现还是有问题的会报如下错误,你遇到了吗?
image

from g6vp.

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.