feat(instructions): add comprehensive Vue 3 development instructions#1937
Open
fhwvtqdc2q-svg wants to merge 1 commit into
Open
feat(instructions): add comprehensive Vue 3 development instructions#1937fhwvtqdc2q-svg wants to merge 1 commit into
fhwvtqdc2q-svg wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
main, but PRs should target staged.
The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.
You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1937 --base staged
Contributor
|
🔴 Contributor Reputation Check: HIGH risk
Maintainers: please review this contributor before merging. |
Add instructions/vue.instructions.md covering the Vue 3 feature surface (Composition API, reactivity, compiler macros, built-in components, Pinia, Vue Router, TypeScript, testing, SSR, security) and regenerate the instructions README index. Also apply non-breaking npm audit fix resolving the yaml advisory (GHSA-48c2-rrv3-qjmp) and a transitive high-severity issue. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new instructions file —
instructions/vue.instructions.md— providing authoritative, production-grade guidance for Vue 3 development, and registers it in the instructions index (docs/README.instructions.md).applyTo:**/*.vue, **/*.ts, **/*.js, **/*.css, **/*.scssWhy
Vue 3 is a major framework with a distinct modern idiom (Composition API +
<script setup lang="ts">) that differs significantly from Vue 2 / Options API. These instructions help Copilot generate idiomatic, current Vue 3 code rather than legacy patterns.Coverage
<script setup lang="ts">as the default authoring styleref,reactive,computed,watch/watchEffect,toRefs)defineProps,defineEmits,defineModel,defineSlots,defineExpose,defineOptionsprovide/inject, composables, Pinia state management, Vue RouterHousekeeping
npm audit fixresolving theyamladvisory (GHSA-48c2-rrv3-qjmp) and a transitive high-severity issue (package-lock.jsononly).Notes for reviewers
*.instructions.mdfrontmatter convention (description+applyTo).