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

I'm using version 0.1.13, in vue I directly import { readerAsync } from 'docx-preview, which causes it to fail to show up in IE browser #142

Open
Jdragon-15 opened this issue Dec 23, 2024 · 0 comments
Labels

Comments

@Jdragon-15
Copy link

Describe the bug
“Opened in IE11, there's a red alert message saying something about a syntax error or that an object is undefined.”

Document
“ In the vue project, and have installed all kinds of patches, also do the compatibility adaptation, in the edeg browser can open, just IE can not!”

Expected behavior
“Console red syntax reporting errors, page white screen”

Screenshots
IMG_0364

Desktop (please complete the following information):

  • IE11

Additional context
-“I'm working on a preview component, based on vue2.x, webback5.x project, the project was created with vue/cli, the main purpose is to encapsulate a preview component for others to use the package, similar to elementui, it is a component library that can be installed through npm and given to others to use, after referencing docx-preview, plugin, in the component to use import { readerAsync } from 'docx-preview, in the edge or Google Chrome browser can be normal preview docx file, but in the local through npm run serve after starting the project in IE11 environment is a white screen, please ask how to be compatible with this IE browser, how do I need to configure my webpack. I'd like to thank you for your help, and I'd really appreciate it if you could help me.”

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

No branches or pull requests

2 participants