Vue - Syntax Error: TypeError: Cannot read properties of undefined (reading ‘styles‘) An error occurs when the project is run, detailed solution

Error reporting

There are no online tutorials about this problem that can solve it. If your error is similar to this article, this article can solve it 100% perfectly.

In the vue2.js project, the following error message appears when executing npm run serve:

Syntax Error: TypeError: Cannot read properties of undefined (reading ‘styles’)

Guess you like

Origin blog.csdn.net/weixin_44198965/article/details/134251824