Closed Skiyee closed 4 months ago
Recent updates introduce changes to the PageContext
class in context.ts
to filter and remove duplicate page entries. This enhancement aims to prevent conflicts when generating page.json
files, especially after creating .nvue
files with duplicate names. Additional changes include the introduction of basic Vue templates and minor adjustments in test files.
File Path | Change Summary |
---|---|
packages/core/src/context.ts |
Updated processPageMetaData and mergePageMetaData methods to filter duplicates. |
test/files.spec.ts , test/generate.spec.ts |
Added checks and minor reordering within tests to accommodate new file index.nvue . |
packages/playground/src/pages/.../index.nvue |
Introduced basic Vue templates with a "Hello World" message. |
Objective (Issue #174) | Addressed | Explanation |
---|---|---|
Remove duplicate entries in page.json |
✅ | |
Ensure processPageMetaData and mergePageMetaData methods handle duplicates properly |
✅ |
In the code, with diligence and grace,
We filter pages, no duplicates in place.
Vue templates greet us with 'Hello World',
A new chapter in files, beautifully unfurled.
Bugs we chase, improvements we trace,
All in a day's work, setting a new pace.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
如果没有其他问题/意见/建议,我会在明天早上部署
Thank you!
fixed: #174
Summary by CodeRabbit
New Features
Bug Fixes
PageContext
to remove duplicate entries when processing and merging page metadata.