SoFunction
Updated on 2025-04-05

Share the correct postures introduced in Vue

Correct posture introduced by vue

Step 1

Install bootstrap dependency package via npm

npm install bootstrap -S

Step 2

Introduced in

import "bootstrap/dist/css/"

Use vue-cli to introduce files to report errors

You can import files in

Place the file in the static/css/ folder

Then import it into the file

<link rel="stylesheet" href="./static/css/" rel="external nofollow" >

Summarize

The above is personal experience. I hope you can give you a reference and I hope you can support me more.