亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Eslint and Vue gives function defined but never used no-unused-vars
P粉511985082
P粉511985082 2023-12-26 00:06:05
0
1
673

Is there any way to fix this error in vue js (vue3) Before this error I had an error about prettier

I get this error when I run "npm runserve" I use "npm run lint -- --fix" but nothing changes

LoginPage.vue

eslintrc.js

P粉511985082
P粉511985082

reply all(1)
P粉041758700

It literally tells you what the problem is

Don't remove unused var checks in eslint, that's just laziness.

It found two problems with your code:

  1. You are using the composition API but have not included the settings in a script tag. Your script opening tag should look something like . Reference: Documentation
  2. Your display function does not use icon variables. Therefore it should be removed as it creates unnecessary noise in the code.

Hope this helps

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template