Coder Social home page Coder Social logo

Comments (5)

ascoders avatar ascoders commented on July 22, 2024

如果在项目安装好了 typescript,那就以 typescript 的方式引用。项目是 js 的还是 ts 的?

ts 对 js 项目是无感知的,对 ts 项目是类型增强的,应该没有影响。

from gaea-editor.

chenraotg avatar chenraotg commented on July 22, 2024

项目是Js的,我的想法是在antdesignPro新建一个页面,然后把gaea引用到新页面中,但是当我用npm安装好gaea后,只要import Gaea from 'Gaea-editor',就会报错。

这是因为antdesignPro是JS项目吗?

from gaea-editor.

ascoders avatar ascoders commented on July 22, 2024

是 antd-pro 使用 react16 导致的,我已经升级兼容了,使用最新版就可以跑了:

image

from gaea-editor.

chenraotg avatar chenraotg commented on July 22, 2024

谢谢黄神,如何使用最新版呀,还是直接npm安装就好了吗?

另外,想请教下黄神,您的这个gaea-editor在生成网页和发布网页上用到的是什么技术呢,我看你简书的文章中好像没有提到。

from gaea-editor.

ascoders avatar ascoders commented on July 22, 2024

不客气,直接 npm 安装就好了。

如果想了解具体实现细节可以另外开 issue,描述具体疑惑点。

from gaea-editor.

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.