【解决方案】 expected "indent", got "eos" vue+stylus样式缩进问题sublime解决方案

Harmony ·
更新时间:2024-09-20
· 969 次阅读

1、错误详情 Module build failed: ParseError: /Users/xuzhaoning/WeChatProjects/xbapp/src/components/goods-list/GoodsList.vue:84:1 80| font-size 18px 81| font-weight bold 82| i 83| font-size 12px 84| -------^ expected "indent", got "eos" 2、错误原因

在stylus样式中混用了tab和空格缩进,我们来统一改成空格缩进

3、解决方案

点击sublime代码编辑器的右下角Spaces 或者Tab Size,选择Convert indentation to Spaces将缩进统一改成空格,保存文件,这样问题就解决了
在这里插入图片描述


作者:猫宁一



VUE indent eos stylus 解决方案

需要 登录 后方可回复, 如果你还没有账号请 注册新账号