Review Of Component Name Search Should Always Be Multi-Word 2022


Review Of Component Name Search Should Always Be Multi-Word 2022. Find a vue.config.js file in the project. You could rename the component or disable the linting rule.

How To Rank Products In Amazon KeyworX Guide
How To Rank Products In Amazon KeyworX Guide from keyworx.org

After configuring eslint, the code format specification is required, and the name format of the component is also specified.it must be written in the format of xxxname, which cannot be a. Should be pascalcase as below; Exceptions may exist, but should be very rare and only be made by those with expert knowledge of both javascript and vue.

You Need Define Your Component Name With More Than One Word As It States.


Your linter just tells you, that your component name should be a multi word like mytemp instead of just temp. // src/views/.eslintrc.js module.exports = { rules: Eslint supports configuration per directory, so you could disable that particular rule just for the src/views directory with its own.eslintrc.js:

Find A Vue.config.js File In The Project.


False // 关闭eslint校验 如果你会发现并没有什么作用,那么你不妨试试以下操作 找到.eslintrc.js. Connect and share knowledge within a single location that is structured and easy to search. Exceptions may exist, but should be very rare and only be made by those with expert knowledge of both javascript and vue.

Should Be Pascalcase As Below;


You could rename the component or disable the linting rule. Export default { name : After configuring eslint, the code format specification is required, and the name format of the component is also specified.it must be written in the format of xxxname, which cannot be a.

You Might Be Tempted To Solve This Problem Differently, Nesting All The Search Components Under A.