Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
340 views
in Technique[技术] by (71.8m points)

在Vue.js中使用less报错的问题?

我在vuejs中使用<style lang="less" rel="stylesheet/less">引入less,
结果在编译的时候报“Parsing error: Unterminated JSX contents“的错误。
如下图:

图片描述

图片描述

请问这种状况应该怎么解决?(已经引入less和less-loader的依赖了)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

不是less报错,是eslint报错


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...