Fantasia quasar vue

From vishiri/fantasia-archive · View interactive version

Fantasia quasar vue is an AI agent skill from the GitHub repository vishiri/fantasia-archive. Builds Vue 3 + Quasar UI for Fantasia Archive: layouts, pages, router, Pinia, and boot files. Use when editing .vue files, Quasar components, routes, or stores under src/.

How to use this skill

Skill file

Fantasia Archive — Quasar and Vue

Stack

Component folders (`src/components/`)

Locale L_*: i18n/<locale>/components/<bucket>/ mirrors buckets (foundation/ excluded). dialogs/, floatingWindows/ beside components/.

Layout and pages

Single-file component block order (MUST)

Every .vue SFC: <template> → <script> / <script setup> → <style>. Never open script or style before template.

Quasar patterns

`public/` assets and Electron (`file://`) (MUST)

When import.meta.env.BASE_URL is '/' or empty, /images/... resolves to filesystem root under file://. Build public/ URLs with relative base (e.g. ./images/...). Example: SocialContactSingleButton.vue.

Component `_data/` (production structured payloads)

Large production data objects → src/components/<Feature>/_data/ (several .ts files OK). May use i18n, copy helpers, trigger handlers. Test fixtures stay inside test files — not _data/ or _tests/_data/.

Component `scripts/` and SFC size (MUST)

Cursor rules for `.vue` files

| Topic | Rule |

|-------|------|

| Quasar, Composition API, i18n, extraction | CODE0 |

| BEM + scoped SCSS | CODE0 |

| Extracted styles | CODE0 |

| data-test-* hooks | CODE1 |

| Trees | CODE0 |

| DnD | CODE0 |

| Icon picker | CODE0 |

| Select / chips | CODE0 |

| Locale translations input | CODE0 |

| Global SCSS | CODE0 |

Quality gates

Related

Storybook i18n caution

Types

Shared types → types/ (app/types/...). See types-folder.mdc.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.