Skip to content

antd2.0.0 vue3.0.5 vite2.0.0 搭建项目成功 但 IE 显示空白 #3685

@JinPengGeng

Description

@JinPengGeng
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0

Environment

win10 vscode node12.13 antd2.0.0 vue3.0.5 vite2.0.0

Reproduction link

https://2x.antdv.com/docs/vue/introduce-cn

Steps to reproduce

使用vite2.0.0创建项目后,怎样做才能兼容IE11

官方文档只说明兼容IE11,但例子都是使用的babel,没有相关这方面的使用文档

What is expected?

1、使用vite的场景下,在开发阶段和生产阶段,怎么做才能兼容IE,需要有个例子,或者是template PJ之类的

2、如果vite 不能做到在开发阶段和生产阶段都兼容IE, 是否还是使用webpack vue.config进行配置才能生效,需要给个明确的指导,或例子

3、el-plus 现在支持 命令行创建项目,ant2这边也有吗?文档地址在那里?

What is actually happening?

使用vite 创建antV2.0后,在开发阶段不支持IE、在生产阶段也不支持IE,相关的配置文档没有,是否只有使用webpack方式才能兼容IE,Vite怎么做都不会支持,没有相关文档,查找各种插件(vite-babel-plugin、@vitejs/plugin-legacy等等)最后都失败了,能否给个意见或者实现方式

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions