posva / unplugin-vue-router

Next Generation file based typed routing for Vue Router
https://uvr.esm.is
MIT License
1.69k stars 82 forks source link

'definePage' is not defined. eslint(no-undef) #510

Closed qiuqimin closed 2 months ago

qiuqimin commented 2 months ago

Already use unplugin-auto-import according to https://github.com/unplugin/unplugin-auto-import?tab=readme-ov-file#eslint. Still got eslint error 'definePage' is not defined. And, the code runs normally.

Can I avoid manually importing 'definePage'?

repo: https://github.com/qiuqimin/unplugin-vue-router-auto-imports-eslint example file: src/views/about.vue