Bootstrap-Vue Vetur Intellisense Definitions

1.1.1 · abandoned · verified Sun Apr 19

This package, `bootstrap-vue-helper-json`, was originally designed to provide Vetur intellisense reference definitions for Bootstrap-Vue components. Its primary purpose was to enhance developer experience by offering auto-completion and documentation hints within IDEs like VS Code when working with Bootstrap-Vue and the Vetur extension. However, starting with Bootstrap-Vue v2.1, this helper's functionality was directly integrated into the main Bootstrap-Vue package itself. Consequently, `bootstrap-vue-helper-json` became obsolete and its GitHub repository was archived in November 2019. Developers using Bootstrap-Vue v2.1 or newer should rely on the `dist/vetur-tags.json` and `dist/vetur-attributes.json` files provided by the core `bootstrap-vue` package for Vetur support. The original `bootstrap-vue` library (for Vue 2 and Bootstrap 4) is now largely in maintenance mode, with `BootstrapVueNext` serving as the modern successor for Vue 3 and Bootstrap 5.

Common errors

Warnings

Install

Quickstart

This shows a `package.json` configuration for Vetur to correctly pick up Bootstrap-Vue's intellisense definitions directly from the `bootstrap-vue` package, making this helper package obsolete. This is for Vue 2/Bootstrap 4 setups.

{
  "name": "my-vue2-bootstrap-app",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build"
  },
  "dependencies": {
    "bootstrap": "^4.6.0",
    "bootstrap-vue": "^2.23.0",
    "core-js": "^3.8.3",
    "vue": "^2.6.14",
    "vue-router": "^3.5.1",
    "vuex": "^3.6.2"
  },
  "devDependencies": {
    "@vue/cli-service": "~5.0.0",
    "vue-template-compiler": "^2.6.14"
  },
  "vetur": {
    "tags": "node_modules/bootstrap-vue/dist/vetur-tags.json",
    "attributes": "node_modules/bootstrap-vue/dist/vetur-attributes.json"
  }
}

view raw JSON →