Unable to import bootstarp vue js in nova laravel.

Hello , How can call bootstrap vue js in custom view. I have followed all instructions https://bootstrap-vue.js.org/docs/ but bootstarp vue is not applying and even not getting error . after installing by npm. I am trying to call in this file /nova-components/Viewcache/resources/js/components/Tool.Vue

Anyone have an idea for that please

1 Like


Could you post your code where you imports bootstrap-vue? See this how to do it: Using Syntax Highlighting in this forum

This my main.js from a product which uses bootstrap-vue

import Vue from 'vue'
import App from './App.vue'

import BootstrapVue from 'bootstrap-vue'
import 'bootstrap-vue/dist/bootstrap-vue.css'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  components: { App },

and then in other components can I use bootstrap component. Like App.vue

     <b-button>Just a button</b-button>

export default {
  name: 'App'