Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求兼容vite #44

Open
PangPeter opened this issue Jul 6, 2022 · 3 comments
Open

请求兼容vite #44

PangPeter opened this issue Jul 6, 2022 · 3 comments

Comments

@PangPeter
Copy link

这个需求解决了什么问题:

打包的时候会报错

建议的 API 是什么样的:

No response

是否已有其他不错的替代方案:

现在只能webpack打包

@Hisioni
Copy link

Hisioni commented Dec 8, 2022

vite 的 umd 转 xe-utils ,运行也会报错

@Hisioni
Copy link

Hisioni commented Dec 8, 2022

貌似是 vxe-table v2 版本使用 xe-utils 的问题

@Hisioni
Copy link

Hisioni commented Dec 9, 2022

我发现我的问题了,xe-utilsvxe-table v2 版本下,必须要在 vxe-table import 之前引入

import VXETable from 'vxe-table'
import XEUtils from 'xe-utils'

改为

import XEUtils from 'xe-utils'
import VXETable from 'vxe-table'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants