मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)9.5k · #12275

buefy

यह क्या करती है

यह स्किल एजेंट को तब मार्गदर्शन देती है जब वह Buefy कंपोनेंट लाइब्रेरी से Vue स्क्रीन लिखता है, जो Bulma स्टाइलिंग पर आधारित है। यह Vue वेब ऐप बनाने वाले डेवलपर्स के लिए है।

कब इस्तेमाल करें

  • ✓जब आप बटन, फ़ॉर्म, तालिकाओं या पॉप-अप विंडो वाला Vue पेज लिख रहे हों।
  • ✓जब आपके प्रोजेक्ट में Buefy पहले से dependency के रूप में हो।
  • ✓जब Vue प्रोजेक्ट के लिए इंटरफ़ेस कोड चाहिए और कोई UI लाइब्रेरी चुनी न गई हो।

Skill का लिंक

https://github.com/buefy/buefy/blob/main/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/buefy/buefy/blob/main/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Buefy फ़ील्ड, सबमिट बटन और एरर संदेश वाला Vue संपर्क फ़ॉर्म बनाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट Buefy इंस्टॉल करता है, या अगर वह प्रोजेक्ट में पहले से है तो उसे इस्तेमाल करता है, फिर Vue कंपोनेंट लिखता है जो लाइब्रेरी के तैयार हिस्सों, properties और events का उपयोग करते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Buefy

Buefy is a lightweight UI component library for Vue 3 based on Bulma CSS. Components are Vue SFCs (<b-button>, <b-modal>, etc.) that wrap Bulma's class-based styles with reactive props, events, and slots.

When to run this skill

Trigger whenever you are:

  • Writing a Vue template or SFC that includes any UI element (buttons, forms, modals, tables, navigation, etc.)
  • Asked to "use Buefy" or "add a Buefy component"
  • Working in a project that has buefy in its package.json dependencies
  • Generating component code without a specified UI library in a Vue project

Install

npm install buefy

Full bundle (registers all components globally)

// main.ts
import { createApp } from 'vue'
import Buefy from 'buefy'
import 'buefy/dist/buefy.css'
import App from './App.vue'

const app = createApp(App)
app.use(Buefy)
app.mount('#app')

Individual components (tree-shakeable)

// main.ts — register as plugins
import { createApp } from 'vue'
import { Button, Field, Input } from 'buefy'
import App from './App.vue'

const app = createApp(App)
app.use(Button)
app.use(Field)
app.use(Input)
app.mount('#app')
<!-- Or import directly in a SFC -->
<script lang="ts">
import { BButton, BField, BInput } from 'buefy'
export default { components: { BButton, BField, BInput } }
</script>

Usage rules

  1. Use the type prop, not class — Buefy components expose Bulma modifiers as a type prop. Use type="is-primary" not class="is-primary" on Buefy components.
  2. Size prop values — "is-small" | "is-medium" | "is-large". No bare size strings.
  3. Always wrap form inputs in <b-field> — <b-field> provides the label, validation message, and grouping. Direct bare inputs miss label/message wiring.
  4. v-model target — Most components bind to modelValue. Named v-models on b-table: v-model:selected, v-model:checked-rows, v-model:current-page, v-model:opened-detailed.
  5. Icons — Use the icon prop with the icon name only (no mdi- prefix). The icon pack (MDI by default) must be registered in your project. Example: icon="home" not icon="mdi-home".
  6. b-table columns — <b-table> requires :data="arrayOfObjects" and <b-table-column field="key" label="Header"> children. Columns can also be passed via the :columns prop.
  7. Theming — Customize via Bulma SCSS variable overrides in a .scss file, not a JS config object. The ConfigProgrammatic utility sets defaults (icon pack, locale, etc.).
  8. Programmatic APIs — Components like Toast, Snackbar, Dialog, Loading, Modal, and Notification can be opened imperatively. Import the programmatic class or use the composable:
    import { ToastProgrammatic as Toast } from 'buefy'
    Toast.open('Hello world')
    // or with options:
    Toast.open({ message: 'Saved!', type: 'is-success', duration: 3000 })
    
    // Composable-style (preferred in Composition API):
    import { useToast } from 'buefy'
    const { open: openToast } = useToast()
    openToast({ message: 'Saved!', type: 'is-success' })
    

Colors & Types

Use these values for the type prop on components that accept it:

Value Meaning
is-primary Primary brand color (default blue)
is-link Link color
is-info Informational (cyan)
is-success Success (green)
is-warning Warning (yellow)
is-danger Error / danger (red)
is-dark Dark (near-black)
is-light Light (near-white)
is-white White
is-black Black

Size values: is-small · is-medium · is-large


Components

b-autocomplete

Autocomplete text input with dropdown suggestions.

Key props: v-model (String), data (Array — suggestion list), field (String — dot path into data objects for display), expanded, loading, icon, size, rounded, keep-first, open-on-focus, keep-open, clearable, placeholder

Slots: default (scoped: { option, index }) for custom option rendering; header, footer, empty, group

Emits: typing, select, focus, blur, infinite-scroll

<b-field label="Search">
  <b-autocomplete
    v-model="search"
    :data="filteredResults"
    field="name"
    placeholder="Type to search"
    @typing="onTyping"
    @select="onSelect"
  >
    <template #default="{ option }">
      {{ option.name }} — {{ option.category }}
    </template>
  </b-autocomplete>
</b-field>
अक्सर पूछे जाने वाले सवाल

क्या पहले Buefy इंस्टॉल करना होगा?

हाँ, जब तक आपके प्रोजेक्ट में वह पहले से न हो। स्किल इंस्टॉल चरण और कंपोनेंट रजिस्टर करने का तरीका दिखाती है।

क्या यह Vue 3 के साथ काम करती है?

हाँ। स्किल Buefy को Vue 3 के लिए कंपोनेंट लाइब्रेरी बताती है।

क्या मैं सिर्फ़ कुछ कंपोनेंट इस्तेमाल कर सकता हूँ?

हाँ। स्किल दिखाती है कि पूरे बंडल की बजाय अलग-अलग कंपोनेंट कैसे इम्पोर्ट करें।

जानकारी

लेखक का मूल विवरण

Official Buefy skill for Vue.js + Bulma UI components. TRIGGER when generating any Vue template, SFC, or component code that involves UI elements, forms, modals, tables, navigation, or feedback messages.

repo: buefy/buefy

लोकप्रियता

GitHub स्टार
9.5k
रैंकिंग में स्थान
#12275
लाइसेंस
MIT
अपडेट की गई
8/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

मिलती-जुलती skills