Replies: 2 comments
-
|
While I'm not very familiar with this myself, there is ongoing work on AI support at: This is currently a community project, but Evan has suggested it may become official once it's ready:
(Quote source: https://discord.com/channels/325477692906536972/1469571233011208285) For anyone interested in seeing this progress faster, I'm sure they'd appreciate some help testing it out! |
Beta Was this translation helpful? Give feedback.
-
|
Working with Vue reactivity system and compilers can sometimes present interesting edge cases. A few quick things to consider regarding this topic:
I highly recommend checking out the Vue DevTools extension to inspect the component tree and verify if the state is updating as expected. Let me know if you want to dig deeper into the specific component logic. Hope this points you in the right direction! Let me know how it goes. Happy coding! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am proposing that the Vue team publishes an official "AI Skills" / System Prompt definition file (e.g.,
ai-best-practices.mdor similar).Context & Motivation
Recently, Vercel released an official repository
agent-skills, which defines best practices for AI Agents (like ChatGPT, Claude, Cursor) when writing React/Next.js code.Currently, when developers ask AI to write Vue code, the results are often inconsistent:
<script setup>or standard TypeScript patterns unless heavily prompted.The Proposal
I suggest adding a dedicated section or a raw Markdown file in the official documentation repo that serves as a "Single Source of Truth" for AI Context.
This file should explicitly state guidelines for LLMs, such as:
<script setup lang='ts'>."refoverreactiveby default (if that is the recommended stance)."Benefits
Reference (React example): Vercel React Best Practices Skill
Beta Was this translation helpful? Give feedback.
All reactions