Comments (6)
只要不渲染,是不会去加载monaco-editor相关的的js资源的
from tmagic-editor.
代码编辑的频率高不高取决于业务,如果业务到后期是会有需要配置函数这种需求的,会需要在编辑器中写代码
from tmagic-editor.
但是貌似还是把代码打包到vendor里面了(还是我打包的姿势不对?),并且浏览器要一起下载,不管有没有渲染,页面加载比较慢影响用户体验。另外配置函数这种需求,一般都是简单的逻辑,感觉暂时不需要monaco-editor这么重量级的产品~,而且她还包含各种语言支持。
from tmagic-editor.
是会把monaco-editor的基础代码打进去,语言支持相关的代码是用到时才加载的
from tmagic-editor.
后续改成整个monaco-editor动态加载,不需要可以不加载的模式
from tmagic-editor.
不支持了
from tmagic-editor.
Related Issues (20)
- 给组设置border 会导致组下的组件 位置偏移 HOT 2
- 运行pnpm bootstrap报错
- 初始化项目遇到的几个问题 HOT 1
- 请问有tmagic-editor的数据源的使用方法说明文档吗? HOT 1
- 集成到自己的项目中页面一直加载不出来 HOT 4
- chrome91版本,调用 editorService.update() 会出错,是否可以在下个版本兼容一下 HOT 4
- 数据源 处理 报错path_1[1] HOT 7
- 右侧样式面板设置字体不生效 HOT 3
- 独立运行playground, @tamgic/form 的样式不生效 HOT 1
- 数据源 数组字段绑定 页面卡死 HOT 3
- react版本迭代容器组件IteratorContainer 初始化值 错误 HOT 1
- formconfig配置可以依赖某项表单值进行展示吗? HOT 2
- 通过代码块来修改dsl中的节点样式以后,调用setConfig无法重新生效 HOT 4
- 组件复制后进行旋转,然后移动组件会出现画框分离
- 不断切换标尺的显示和隐藏,会造成页面卡顿
- 按照文档中的教程编写自定义组件,在playground示例项目中提示找不到组件 HOT 1
- 页面、页面片还有底下索引tab有什么作用呢? HOT 1
- sidebar组件下的的折叠面板是否可以多级 HOT 1
- 容器组件在组件结构树中拖动顺序后会自动被删除
- 已选组件列表右键菜单被遮挡
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmagic-editor.