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

uniapp导入Prism.min.js和Prism.css后报错 #416

Closed
zxyzzxxyy opened this issue Mar 29, 2022 · 2 comments
Closed

uniapp导入Prism.min.js和Prism.css后报错 #416

zxyzzxxyy opened this issue Mar 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@zxyzzxxyy
Copy link

zxyzzxxyy commented Mar 29, 2022

问题描述

在prism官网选择了c++和java后下载了prism.min.js和prism.css 替换后打包覆盖运行报错

SW1YF})$QN8(U Y8~6LD0

OX7B90`{JCM61WL7_I9Z5 1

D0](https://user-images.githubusercontent.com/79697833/160555854-dd9f837c-14ee-4825-9a8b-c9edd9aff6e0.png)
Z52 0`J}KM_D8$JO7EAQLH7

@zxyzzxxyy zxyzzxxyy changed the title 导入Prism.min.js和PrISM uniapp导入Prism.min.js和Prism.css后报错 Mar 29, 2022
@jin-yufeng
Copy link
Owner

先直接把下载 prism.min.js 复制到构建后的包里

@jin-yufeng jin-yufeng added the bug Something isn't working label Mar 29, 2022
@zxyzzxxyy
Copy link
Author

可以了非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants