--- applyTo: "**" name: mobiscroll-ui-vue description: | Mobiscroll Vue patterns — MbscEventcalendar components, Vue 3 Composition API, named slots, @mobiscroll/vue imports. Invoked by mobiscroll-ui after framework detection. Do not auto-trigger — invoked by mobiscroll-ui only. --- # Mobiscroll — Vue Patterns > This skill is loaded by `mobiscroll-ui`. If you arrived here directly, invoke > `mobiscroll-ui` first to run environment detection and the mandatory schema lookup. Package: `@mobiscroll/vue` CSS import: `import '@mobiscroll/vue/dist/css/mobiscroll.min.css'` **Vue 3 Composition API with ` ``` ## Key Conventions - Components are named exports with `Mbsc` prefix: `MbscEventcalendar`, `MbscDatepicker`, `MbscSelect`, `MbscPopup`. - Prop binding uses `:prop` syntax: `:data="events"`, `:view="myView"`. - Event binding uses `@event-name` syntax (kebab-case): `@event-create`, `@cell-click`, `@page-change`. - State uses Vue reactivity: `ref()`, `reactive()`, `computed()`. - TypeScript types are prefixed `Mbsc` (same as Angular): `MbscEventcalendarView`, `MbscCalendarEvent`. ## Anti-Patterns | WRONG | RIGHT | |:---|:---| | Using Vue 2 Options API or `Vue.component()` | Use Vue 3 Composition API with `