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

markdown.vue文件引入js问题, #13

Open
xuxuzhaozhao opened this issue Mar 2, 2018 · 2 comments
Open

markdown.vue文件引入js问题, #13

xuxuzhaozhao opened this issue Mar 2, 2018 · 2 comments

Comments

@xuxuzhaozhao
Copy link

大哥帮看下,markdown.vue文件引入这两个JS文件(import hljs from '../../../static/js/highlight.min.js' import range from '../../../static/js/rangeFn.js')的时候,总是报
Module parse failed: Unexpected token (7:0) You may need an appropriate loader to handle this file type.

@HanLiang920
Copy link

请问下解决了吗?我也遇到这个问题了

@shengjingyin
Copy link

是的 是引入高亮JS import hljs from '../../assets/markdown/js/highlight.min.js' 出现了问题,不知道问题在哪?现在解决了吗

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