-
-
Notifications
You must be signed in to change notification settings - Fork 149
docs: fix unplugin-vue-components issue #2724
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
Conversation
|
WalkthroughThis change refactors multiple Vue component documentation files by converting their script blocks from the Options API with explicit Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant VitePress
participant VueComponent
User->>VitePress: Loads Markdown component doc
VitePress->>VueComponent: Parses <script setup> block
VueComponent-->>VitePress: Exposes imported data to template scope
VitePress-->>User: Renders documentation with simplified component
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (35)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (30)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
commit: |
Describe the PR
Someone over in unplugin-vue-comopnents proposed a solution to the issue that we ran into a while back that unplugin components weren't being registered when building the documents. The proposed solution is to add *.ts to the include list, presumably *.js is implied in some way in the system.
In any case, this works and cleans up our *.md files nicely.
Small replication
Most of the component documentation files.
PR checklist
What kind of change does this PR introduce? (check at least one)
fix(...)
feat(...)
fix(...)
docs(...)
The PR fulfills these requirements:
CHANGELOG
is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be deniedSummary by CodeRabbit
<script setup>
syntax, simplifying code and improving readability without changing component behavior.