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

feat(define-page): support babel-parser #514

Open zhiyuanzmj opened 2 months ago

zhiyuanzmj commented 2 months ago

Support parse TSX for @vue-macros/setup-sfc

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 81.25000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 57.51%. Comparing base (cbe9ce3) to head (6e5dc20). Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
src/codegen/generateRouteRecords.ts 25.00% 3 Missing :warning:
src/core/definePage.ts 89.28% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #514 +/- ## =========================================== - Coverage 67.56% 57.51% -10.05% =========================================== Files 31 32 +1 Lines 3074 3032 -42 Branches 602 554 -48 =========================================== - Hits 2077 1744 -333 - Misses 991 1277 +286 - Partials 6 11 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

pnpm add https://pkg.pr.new/unplugin-vue-router@514

commit: 6e5dc20