1

In general html, it is used well as written in docs, but it does not work properly in my vue project.Is it a problem that 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 navbar works, but the external content menu, which works on a small screen(mobile), does not work properly. 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 WebApp screenshot

2 Answers 2

0

You can use

Bootstrap Vue

OR include bootstrap CSS & JS in your `index.html'

Sign up to request clarification or add additional context in comments.

1 Comment

I didn't put in the bootstrap script. Thank you.
0

PLease refer to here It is working well for Bootstrap 5 and vue 3 for now.

2 Comments

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.