Comments (8)
vue3 does not not support ie11
from tmagic-editor.
测试用的是chrome浏览器
from tmagic-editor.
请提供详细的信息
浏览器版本,node版本,webpack或者vite版本,babel版本等
from tmagic-editor.
Chrome 版本 102.0.5005.63(正式版本) (64 位)、node v16.12.0、vite 2.9.9、babel 7.18.2
from tmagic-editor.
vite.config.js配置信息:
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import legacy from '@vitejs/plugin-legacy';
import vueJsx from '@vitejs/plugin-vue-jsx';
export default defineConfig({
define: {
global:{}
},
plugins: [
vue(),
vueJsx(),
legacy({
targets: ['defaults', 'not IE 11'],
additionalLegacyPolyfills:['regenerator-runtime/runtime']
})
],
build: {
sourcemap: true,
minify: false,
rollupOptions: {
input: {
page: './page.html',
playground: './playground.html',
components: './src/comp-entry.ts',
config: './src/config-entry.ts',
value: './src/value-entry.ts',
},
output: {
entryFileNames: 'assets/[name].js',
},
},
}
})
from tmagic-editor.
additionalLegacyPolyfills:['regenerator-runtime/runtime']
把这个配置去掉试试
from tmagic-editor.
去掉一样不行
from tmagic-editor.
上面贴出来的vite.config应该是runtime的配置,MagicEditor 应该是在另一个项目中使用的,是不是弄错了
from tmagic-editor.
Related Issues (20)
- 运行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
- 容器组件在组件结构树中拖动顺序后会自动被删除
- 已选组件列表右键菜单被遮挡
- 组件预览使用cloneNode引发的问题
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.