Required Refactoring

Header Extraction

Main Content Separation

Footer Extraction

Example:

<footer>
<buttononclick="save()">Save</button>
</footer>

Must become:

<template>
<footer>
<button @click="onSave">Save</button>
</footer>
</template>

STEP 3 - Convert JavaScript to Vue Style

Existing JavaScript is written in vanilla JS.

The AI Agent must convert it into Vue-compatible patterns.


Forbidden Patterns

The following patterns should be removed or minimized: