How to use bootstrap navigation bar in vue.js?
P粉459578805
P粉459578805 2024-03-31 20:16:22
0
1
391

In general HTML, it works well according to the documentation, but it doesn't work properly in my vue project. Is it because I didn't import popper.js? I don't think I'm exporting to html, and I'm not sure where to import it. To be precise, the normal navigation bar works, but the external content menu that works on small screens (mobile devices) does not. help me main.js

import { createApp } from 'vue'
import App from './App.vue'
import router from './routes/index.js'

createApp(App)
//plugin
.use(router)
.mount('#app')

Directory structure screenshot

My Web Application Screenshot

P粉459578805
P粉459578805

reply all(1)
P粉486138196

you can use

Bootstrap Vue

Or include bootstrap CSS and JS

in your "index.html"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!