Coder Social home page Coder Social logo

支持vue2吗 about am-editor HOT 5 CLOSED

red-axe avatar red-axe commented on May 20, 2024
支持vue2吗

from am-editor.

Comments (5)

big-camel avatar big-camel commented on May 20, 2024

直接用的VUE最新的,只有UI渲染的位置使用了VUE

from am-editor.

rustbomber avatar rustbomber commented on May 20, 2024

现在所有的插件都能在vue环境正常工作吗?因为我们的应用是vue开发的,看您介绍说editor是react的开发,不知道是能否都正常使用。

from am-editor.

big-camel avatar big-camel commented on May 20, 2024

现在所有的插件都能在vue环境正常工作吗?因为我们的应用是vue开发的,看您介绍说editor是react的开发,不知道是能否都正常使用。

在部分 ui 使用原生js做渲染比较困难下, 都是使用的前端框架渲染。这些渲染仅仅用作于 ui 呈现展示和用户端参数输入,不参与编辑器的逻辑处理。所以换成其它任何前端渲染库都可以使用

前端框架都是使用最新的库

react 17

vue 3

下面这个三个插件有 react 和 vue 区别,ui库都是使用的 antdv

toolbar-vue 工具栏,全部使用框架渲染
codeblock-vue 代码块,语言选择下拉使用框架渲染
link-vue 链接,文字输入修改使用框架渲染

如果非要使用 vue2 的话,那就得修改这三个插件 vue 渲染代码

from am-editor.

rustbomber avatar rustbomber commented on May 20, 2024

@itellyou-com 了解,我们的项目用的还是vue2的版本。

from am-editor.

big-camel avatar big-camel commented on May 20, 2024

@akaylh 我上手vue也不久,所以学嘛就学最新的了。好像也没有找到兼容 vue2 的写法。

from am-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.