用途
BootstrapVueNext 技能用于在 Vue 3 应用中构建或迁移基于 Bootstrap 的界面。它面向需要在 Vue 3 与 Bootstrap 5 环境下使用 BootstrapVueNext 的开发者,帮助完成安装接入、组件选用、组合式函数与指令调用,以及从旧版 BootstrapVue 的迁移工作。
主要能力
该技能覆盖以下方面:
- 在 Vue 3 应用中安装并接入 BootstrapVueNext。
- 在推荐的 BApp 初始化方式与旧版 createBootstrap 插件之间进行选择。
- 正确使用 BootstrapVueNext 的组件、组合式函数、指令以及路由感知链接。
- 配置全局默认值、样式、tree-shaking、Nuxt 支持以及 TypeScript 相关设置。
- 从 BootstrapVue 迁移到 BootstrapVueNext(Vue 3 与 Bootstrap 5)。
使用方式
技能以参考文档组织,按主题检索:
- 入门与安装:references/getting-started.md,涵盖安装、必需设置、自动注册、Nuxt、TypeScript、CDN、tree-shaking。
- 核心模式:references/core-patterns.md,涵盖 BApp、createBootstrap、组合式函数、指令、默认值、样式与类型模式。
- API 参考:references/api-reference.md,指向组件、组合式函数、指令、参考与类型文档的位置。
- 集成与插件:references/integrations-plugins.md,涵盖 Nuxt、路由链接、图标设置、组件自动导入及相关集成。
- 测试与调试:references/testing-debugging.md,涵盖组合式函数测试设置与可访问性检查;提取的文档中没有专门的调试指南。
- 升级迁移:references/upgrades.md,涵盖迁移指引以及 BootstrapVue 到 BootstrapVueNext 的显著变化。
检索建议:
- 应用引导或安装问题,从 references/getting-started.md 开始。
- 模态框、toast、popover、颜色模式或切换行为,使用 references/core-patterns.md,然后查阅 references/documentation/overview/ 下对应的组合式函数或指令页面。
- 组件特定属性、插槽、示例或 CSS 钩子,直接查阅 references/documentation/overview/bootstrap-vue-next-docs-components-*.md 下匹配的文件。
- 路由、Nuxt、图标或自动注册,使用 references/integrations-plugins.md。
- 迁移工作,先阅读 references/upgrades.md,再阅读 references/documentation/overview/bootstrap-vue-next-docs-migration-guide.md。
详细来源包括:镜像文档索引 references/documentation/overview/index.md;组件目录 references/documentation/overview/bootstrap-vue-next-docs-components.md;组合式函数目录 references/documentation/overview/bootstrap-vue-next-docs-composables.md;指令目录 references/documentation/overview/bootstrap-vue-next-docs-directives.md;参考目录 references/documentation/overview/bootstrap-vue-next-docs-reference.md;类型目录 references/documentation/overview/bootstrap-vue-next-docs-types.md。建议先使用紧凑的参考文件进行检索,再打开镜像页面文档查看确切的属性、示例与边界情况。
适用场景
适用于 Vue 3 项目中使用 BootstrapVueNext 构建界面、配置全局默认值与样式、集成 Nuxt 或路由链接、设置 TypeScript 与 tree-shaking,以及从 BootstrapVue 迁移到 BootstrapVueNext 的场景。
限制
提取的文档中没有专门的调试指南。关于具体收费、价格、平台支持范围与效果等信息,资料中暂未提供。