bootstrap-vue3
npx skills add https://github.com/partme-ai/full-stack-skills --skill bootstrap-vue3
Agent 安装分布
Skill 文档
When to use this skill
Use this skill whenever the user wants to:
- Build Vue 3 applications with Bootstrap Vue components
- Use Bootstrap UI components (Button, Form, Table, Modal, etc.)
- Create responsive layouts with Bootstrap grid
- Use Bootstrap Vue directives (v-b-tooltip, v-b-popover, v-b-modal)
- Implement forms with Bootstrap styling
- Display data in Bootstrap tables
- Create modals and alerts
- Use Bootstrap navigation components
- Customize Bootstrap themes
- Migrate from Bootstrap Vue 2.x to 3.0
How to use this skill
This skill is organized to match the Bootstrap Vue 3.0 official documentation structure (https://bootstrap-vue.org/docs, https://bootstrap-vue.org/docs/components). When working with Bootstrap Vue 3.0:
-
Identify the topic from the user’s request:
- Getting started/å¿«éå¼å§ â
examples/getting-started/installation.mdorexamples/getting-started/basic-usage.md - Button/æé® â
examples/components/button.md - Form/表å â
examples/components/form.md - Table/è¡¨æ ¼ â
examples/components/table.md - Modal/æ¨¡ææ¡ â
examples/components/modal.md - Alert/è¦åæ¡ â
examples/components/alert.md - Navbar/å¯¼èªæ â
examples/components/navbar.md - Grid/æ
æ ¼ â
examples/components/grid.md - Directives/æä»¤ â
examples/directives/tooltip.mdorexamples/directives/modal.md
- Getting started/å¿«éå¼å§ â
-
Load the appropriate example file from the
examples/directory:Getting Started (å¿«éå¼å§) –
examples/getting-started/:examples/getting-started/installation.md– Installing Bootstrap Vue and basic setupexamples/getting-started/basic-usage.md– Basic component usage
Components (ç»ä»¶) –
examples/components/:examples/components/button.md– Button componentexamples/components/form.md– Form componentsexamples/components/input.md– Input componentexamples/components/table.md– Table componentexamples/components/modal.md– Modal componentexamples/components/alert.md– Alert componentexamples/components/navbar.md– Navbar componentexamples/components/grid.md– Grid system (Container, Row, Col)examples/components/card.md– Card componentexamples/components/badge.md– Badge componentexamples/components/dropdown.md– Dropdown componentexamples/components/pagination.md– Pagination componentexamples/components/tabs.md– Tabs componentexamples/components/collapse.md– Collapse componentexamples/components/popover.md– Popover componentexamples/components/tooltip.md– Tooltip component
Directives (æä»¤) –
examples/directives/:examples/directives/tooltip.md– v-b-tooltip directiveexamples/directives/popover.md– v-b-popover directiveexamples/directives/modal.md– v-b-modal directiveexamples/directives/toggle.md– v-b-toggle directive
Advanced (é«çº§) –
examples/advanced/:examples/advanced/theme-customization.md– Customizing Bootstrap themeexamples/advanced/composables.md– Using composables (useToast, useModal)
-
Follow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
- All examples follow Bootstrap Vue 3.0 API (Vue 3 + Bootstrap 5)
- Examples use Composition API syntax
- Each example file includes key concepts, code examples, and key points
- Always check the example file for best practices and common patterns
-
Reference API documentation in the
api/directory when needed:api/components.md– Component API referenceapi/directives.md– Directives API referenceapi/composables.md– Composables API reference
-
Use templates from the
templates/directory:templates/project-setup.md– Project setup templatestemplates/component-template.md– Component usage templates
Doc mapping (one-to-one with official documentation)
Guide (æå):
- See guide files in
examples/guide/orexamples/getting-started/â https://bootstrap-vue.org/docs
Components (ç»ä»¶):
- See component files in
examples/components/â https://bootstrap-vue.org/docs/components
Examples and Templates
This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
- Identify the topic from the user’s request
- Load the appropriate example file from the mapping above
- Follow the instructions, syntax, and best practices in that file
- Adapt the code examples to your specific use case
To use templates:
- Reference templates in
templates/directory for common scaffolding - Adapt templates to your specific needs and coding style
API Reference
Detailed API documentation is available in the api/ directory, organized to match the official Bootstrap Vue 3.0 API documentation structure:
Components API (api/components.md)
- All component props and APIs
- Component events and slots
- Component types and interfaces
Directives API (api/directives.md)
- Directive syntax and usage
- Directive modifiers
- Directive options
Composables API (api/composables.md)
- useToast composable
- useModal composable
- usePopover composable
To use API reference:
- Identify the API you need help with
- Load the corresponding API file from the
api/directory - Find the API signature, parameters, return type, and examples
- Reference the linked example files for detailed usage patterns
- All API files include links to relevant example files in the
examples/directory
Best Practices
- Import Bootstrap CSS: Import Bootstrap CSS in your entry file
- Use Composition API: Prefer Composition API for Vue 3 projects
- Tree-shaking: Import components individually for better tree-shaking
- Responsive design: Use Bootstrap grid system for responsive layouts
- Accessibility: Follow Bootstrap accessibility guidelines
- Theme customization: Use Bootstrap variables for consistent theming
- Directives: Use directives for programmatic component control
- Composables: Use composables for programmatic API access
- Component composition: Compose components for complex UIs
- Performance: Optimize bundle size with tree-shaking
Resources
- Official Website: https://bootstrap-vue.org
- Documentation: https://bootstrap-vue.org/docs
- Components: https://bootstrap-vue.org/docs/components
- GitHub Repository: https://github.com/bootstrap-vue/bootstrap-vue-next
Keywords
Bootstrap Vue, Bootstrap Vue 3.0, Vue 3, Bootstrap 5, components, Button, Form, Table, Modal, Alert, Navbar, Grid, directives, v-b-tooltip, v-b-popover, v-b-modal, composables, useToast, useModal, ç»ä»¶åº, æé®, 表å, è¡¨æ ¼, æ¨¡ææ¡, è¦åæ¡, å¯¼èªæ , æ æ ¼, æä»¤