Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(define-page): support JSX #514

Merged
merged 10 commits into from
Mar 22, 2025
Merged

feat(define-page): support JSX #514

merged 10 commits into from
Mar 22, 2025

Conversation

zhiyuanzmj
Copy link
Contributor

@zhiyuanzmj zhiyuanzmj commented Sep 19, 2024

Support parse TSX for @vue-macros/setup-sfc and vue-jsx-vapor

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

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

Project coverage is 61.68%. Comparing base (06f99fe) to head (82ecaae).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
src/codegen/generateRouteRecords.ts 25.00% 3 Missing ⚠️
src/core/definePage.ts 91.42% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
- Coverage   61.72%   61.68%   -0.04%     
==========================================
  Files          32       32              
  Lines        3135     3145      +10     
  Branches      580      580              
==========================================
+ Hits         1935     1940       +5     
- Misses       1194     1199       +5     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@posva posva linked an issue Sep 19, 2024 that may be closed by this pull request
Copy link

pkg-pr-new bot commented Oct 21, 2024

Open in Stackblitz

npm i https://pkg.pr.new/unplugin-vue-router@514

commit: 82ecaae

@zhiyuanzmj zhiyuanzmj changed the title feat(define-page): support babel-parser feat(define-page): support tsx Mar 15, 2025
@zhiyuanzmj zhiyuanzmj changed the title feat(define-page): support tsx feat(define-page): support JSX Mar 15, 2025
Copy link
Owner

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@posva posva merged commit e34ff23 into posva:main Mar 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support definePage() outside of SFC
2 participants