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

轮子使用过程可能遇到的问题 #3

Open
wynn-w opened this issue Feb 17, 2021 · 1 comment
Open

轮子使用过程可能遇到的问题 #3

wynn-w opened this issue Feb 17, 2021 · 1 comment

Comments

@wynn-w
Copy link
Owner

wynn-w commented Feb 17, 2021

  1. this.getOptions is not a function at Object.loader...
@wynn-w
Copy link
Owner Author

wynn-w commented Feb 17, 2021

  1. this.getOptions is not a function at Object.loader...

问题出现原因:该错误是 sass 预编译的 loader 不支持 getOptions() 方法。
解决方法:升级sass-loader,即 npm install sass-loader (vue2.6 环境下建议更新到 ^10.1.1 版本)。
参考链接:1). https://blog.csdn.net/weixin_43459866/article/details/113822347 2). https://stackoverflow.com/a/66087132

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

1 participant