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

传统项目应用不了 #49

Open
lanweipeng opened this issue Jul 29, 2020 · 3 comments
Open

传统项目应用不了 #49

lanweipeng opened this issue Jul 29, 2020 · 3 comments

Comments

@lanweipeng
Copy link

我公司的项目用的layui,然后layui它的模块化是另类的,没办法用webpack打包。然后我用cdn的方式引用(script),发现报错,因为xy-ui/index.jx用了import ,然后我把单个js文件引入,然后把export和import去掉,发现可以使用。

@XboxYan
Copy link
Owner

XboxYan commented Jul 29, 2020

IE都不用想了,不支持,推荐从github下载到本地来使用

@lanweipeng
Copy link
Author

不是IE,就chrome

@ayhome
Copy link

ayhome commented Sep 1, 2020

layui 其实是个一起不复返的坑

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

No branches or pull requests

3 participants