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.md or examples/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.md or examples/directives/modal.md
Load the appropriate example file from the examples/ directory:
Getting Started (快速开始) - examples/getting-started/:
examples/getting-started/installation.md - Installing Bootstrap Vue and basic setup
examples/getting-started/basic-usage.md - Basic component usage
Components (组件) - examples/components/:
examples/components/button.md - Button component
examples/components/form.md - Form components
examples/components/input.md - Input component
examples/components/table.md - Table component
examples/components/modal.md - Modal component
examples/components/alert.md - Alert component
examples/components/navbar.md - Navbar component
examples/components/grid.md - Grid system (Container, Row, Col)
examples/components/card.md - Card component
examples/components/badge.md - Badge component
examples/components/dropdown.md - Dropdown component
examples/components/pagination.md - Pagination component
examples/components/tabs.md - Tabs component
examples/components/collapse.md - Collapse component
examples/components/popover.md - Popover component
examples/components/tooltip.md - Tooltip component
Directives (指令) - examples/directives/:
examples/directives/tooltip.md - v-b-tooltip directive
examples/directives/popover.md - v-b-popover directive
examples/directives/modal.md - v-b-modal directive
examples/directives/toggle.md - v-b-toggle directive
Advanced (高级) - examples/advanced/:
examples/advanced/theme-customization.md - Customizing Bootstrap theme
examples/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 reference
api/directives.md - Directives API reference
api/composables.md - Composables API reference
Use templates from the templates/ directory:
templates/project-setup.md - Project setup templates
templates/component-template.md - Component usage templates
Doc mapping (one-to-one with official documentation)
Guide (指南):
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
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, 组件库, 按钮, 表单, 表格, 模态框, 警告框, 导航栏, 栅格, 指令
能力边界
✅ 适用场景
- 当你需要使用此技能对应的技术栈时
- 当项目需要遵循最佳实践时
- 当需要快速上手或深入理解核心概念时
⚠️ 需要注意
- 复杂业务逻辑需要结合具体场景调整
- 性能优化需要根据实际数据量评估
❌ 不适用场景
常见陷阱 (Gotchas)
- 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异
- 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查
- 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码
- 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本
- 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题
使用流程
Step 1: 环境准备
确保开发环境已安装必要的依赖和工具。
Step 2: 配置初始化
根据项目需求进行基础配置。
Step 3: 核心功能使用
按照示例代码实现核心功能。
Step 4: 测试验证
运行测试确保功能正常。
Step 5: 部署上线
完成开发后进行部署和监控。
1---2name: bootstrap-vue33description: Provides comprehensive guidance for Bootstrap Vue 3 component library including Bootstrap components, grid system, utilities, and Vue 3 integration. Use when the user asks about Bootstrap Vue 3, needs to use Bootstrap components in Vue 3, or implement responsive layouts.4license: Complete terms in LICENSE.txt5---67## When to use this skill89Use this skill whenever the user wants to:10- Build Vue 3 applications with Bootstrap Vue components11- Use Bootstrap UI components (Button, Form, Table, Modal, etc.)12- Create responsive layouts with Bootstrap grid13- Use Bootstrap Vue directives (v-b-tooltip, v-b-popover, v-b-modal)14- Implement forms with Bootstrap styling15- Display data in Bootstrap tables16- Create modals and alerts17- Use Bootstrap navigation components18- Customize Bootstrap themes19- Migrate from Bootstrap Vue 2.x to 3.02021## How to use this skill2223This 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:24251. **Identify the topic** from the user's request:26 - Getting started/快速开始 → `examples/getting-started/installation.md` or `examples/getting-started/basic-usage.md`27 - Button/按钮 → `examples/components/button.md`28 - Form/表单 → `examples/components/form.md`29 - Table/表格 → `examples/components/table.md`30 - Modal/模态框 → `examples/components/modal.md`31 - Alert/警告框 → `examples/components/alert.md`32 - Navbar/导航栏 → `examples/components/navbar.md`33 - Grid/栅格 → `examples/components/grid.md`34 - Directives/指令 → `examples/directives/tooltip.md` or `examples/directives/modal.md`35362. **Load the appropriate example file** from the `examples/` directory:3738 **Getting Started (快速开始) - `examples/getting-started/`**:39 - `examples/getting-started/installation.md` - Installing Bootstrap Vue and basic setup40 - `examples/getting-started/basic-usage.md` - Basic component usage4142 **Components (组件) - `examples/components/`**:43 - `examples/components/button.md` - Button component44 - `examples/components/form.md` - Form components45 - `examples/components/input.md` - Input component46 - `examples/components/table.md` - Table component47 - `examples/components/modal.md` - Modal component48 - `examples/components/alert.md` - Alert component49 - `examples/components/navbar.md` - Navbar component50 - `examples/components/grid.md` - Grid system (Container, Row, Col)51 - `examples/components/card.md` - Card component52 - `examples/components/badge.md` - Badge component53 - `examples/components/dropdown.md` - Dropdown component54 - `examples/components/pagination.md` - Pagination component55 - `examples/components/tabs.md` - Tabs component56 - `examples/components/collapse.md` - Collapse component57 - `examples/components/popover.md` - Popover component58 - `examples/components/tooltip.md` - Tooltip component5960 **Directives (指令) - `examples/directives/`**:61 - `examples/directives/tooltip.md` - v-b-tooltip directive62 - `examples/directives/popover.md` - v-b-popover directive63 - `examples/directives/modal.md` - v-b-modal directive64 - `examples/directives/toggle.md` - v-b-toggle directive6566 **Advanced (高级) - `examples/advanced/`**:67 - `examples/advanced/theme-customization.md` - Customizing Bootstrap theme68 - `examples/advanced/composables.md` - Using composables (useToast, useModal)69703. **Follow the specific instructions** in that example file for syntax, structure, and best practices7172 **Important Notes**:73 - All examples follow Bootstrap Vue 3.0 API (Vue 3 + Bootstrap 5)74 - Examples use Composition API syntax75 - Each example file includes key concepts, code examples, and key points76 - Always check the example file for best practices and common patterns77784. **Reference API documentation** in the `api/` directory when needed:79 - `api/components.md` - Component API reference80 - `api/directives.md` - Directives API reference81 - `api/composables.md` - Composables API reference82835. **Use templates** from the `templates/` directory:84 - `templates/project-setup.md` - Project setup templates85 - `templates/component-template.md` - Component usage templates868788### Doc mapping (one-to-one with official documentation)8990**Guide (指南)**:91- See guide files in `examples/guide/` or `examples/getting-started/` → https://bootstrap-vue.org/docs9293**Components (组件)**:94- See component files in `examples/components/` → https://bootstrap-vue.org/docs/components9596## Examples and Templates9798This skill includes detailed examples organized to match the official documentation structure. All examples are in the `examples/` directory (see mapping above).99100**To use examples:**101- Identify the topic from the user's request102- Load the appropriate example file from the mapping above103- Follow the instructions, syntax, and best practices in that file104- Adapt the code examples to your specific use case105106**To use templates:**107- Reference templates in `templates/` directory for common scaffolding108- Adapt templates to your specific needs and coding style109110## API Reference111112Detailed API documentation is available in the `api/` directory, organized to match the official Bootstrap Vue 3.0 API documentation structure:113114### Components API (`api/components.md`)115- All component props and APIs116- Component events and slots117- Component types and interfaces118119### Directives API (`api/directives.md`)120- Directive syntax and usage121- Directive modifiers122- Directive options123124### Composables API (`api/composables.md`)125- useToast composable126- useModal composable127- usePopover composable128129**To use API reference:**1301. Identify the API you need help with1312. Load the corresponding API file from the `api/` directory1323. Find the API signature, parameters, return type, and examples1334. Reference the linked example files for detailed usage patterns1345. All API files include links to relevant example files in the `examples/` directory135136## Best Practices1371381. **Import Bootstrap CSS**: Import Bootstrap CSS in your entry file1392. **Use Composition API**: Prefer Composition API for Vue 3 projects1403. **Tree-shaking**: Import components individually for better tree-shaking1414. **Responsive design**: Use Bootstrap grid system for responsive layouts1425. **Accessibility**: Follow Bootstrap accessibility guidelines1436. **Theme customization**: Use Bootstrap variables for consistent theming1447. **Directives**: Use directives for programmatic component control1458. **Composables**: Use composables for programmatic API access1469. **Component composition**: Compose components for complex UIs14710. **Performance**: Optimize bundle size with tree-shaking148149## Resources150151- **Official Website**: https://bootstrap-vue.org152- **Documentation**: https://bootstrap-vue.org/docs153- **Components**: https://bootstrap-vue.org/docs/components154- **GitHub Repository**: https://github.com/bootstrap-vue/bootstrap-vue-next155156## Keywords157158Bootstrap 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, 组件库, 按钮, 表单, 表格, 模态框, 警告框, 导航栏, 栅格, 指令159160## 能力边界161162### ✅ 适用场景163- 当你需要使用此技能对应的技术栈时164- 当项目需要遵循最佳实践时165- 当需要快速上手或深入理解核心概念时166167### ⚠️ 需要注意168- 复杂业务逻辑需要结合具体场景调整169- 性能优化需要根据实际数据量评估170171### ❌ 不适用场景172- 不相关的技术栈或框架173- 需要完全自定义的特殊场景174175## 常见陷阱 (Gotchas)1761771. **版本兼容性**:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异1782. **配置文件格式**:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查1793. **环境变量**:确保所有必要的环境变量已正确设置,敏感信息不要硬编码1804. **依赖冲突**:多版本共存时注意依赖冲突,使用 lock 文件锁定版本1815. **性能陷阱**:大数据量场景下注意性能优化,避免 N+1 查询等常见问题182183## 使用流程184185### Step 1: 环境准备186确保开发环境已安装必要的依赖和工具。187188### Step 2: 配置初始化189根据项目需求进行基础配置。190191### Step 3: 核心功能使用192按照示例代码实现核心功能。193194### Step 4: 测试验证195运行测试确保功能正常。196197### Step 5: 部署上线198完成开发后进行部署和监控。