# 在 VueCli 加入「使用終端機下載依賴、Vue元件、調用Vue資料」(6-4) ###### tags: `Vue`、`6. VueCli` 2022.3.11 ## 使用終端機下載依賴 (Bootstrap) ### 1. npm 下載 bootstrap [Bootstrap 官網](https://getbootstrap.com/)找尋 npm 安裝指令 ``` npm install bootstrap ``` ### 2. 在 App.vue 中,載入 Bootrstrap 套件。 @ : 在VueCli中代表 `src` 資料夾。  ### 3. 使用Bootstrap語法,檢視使否能成功顯示。 ## 新增元件 ### 1. 在 @/components 資料夾中新增元件(檔名開頭要大寫),並撰寫元件內容程式。 範例 : Bootstrap Card  ### 2. 在欲引用元件的網頁中,遷入元件。  ## 調用Vue資料 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up