tangyouge / vue3-progress

☘ A vue3 component of progress bar the custom colors are supported 一款 vue3 进度条组件 支持自定义喜欢的颜色
https://vue3-progress.netlify.app
MIT License
28 stars 1 forks source link

Update Code Snippet in README #8

Closed moshetanzer closed 5 months ago

moshetanzer commented 2 years ago

Hi,

Want to make this component as user friendly as possible.

If you use Vue 3 CLI with TS, when you use Vue router variables (to, from) Eslint recognises them as unused vars (this is a Eslint bug). These vars are not unused and work perfectly in production. So just added a line to ignore this unused var error.

Really want this to get out there!

Best Regards