第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

未加載 Java 腳本文件

未加載 Java 腳本文件

白衣非少年 2021-11-04 16:50:40
我的 javascript 腳本和引導(dǎo)文件沒有加載。當(dāng)我使用檢查元素時(shí),我得到的錯(cuò)誤是這個(gè)附加到標(biāo)題的文件是<head>    <!-- Required meta tags always come first -->    <meta charset="utf-8">    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">    <meta http-equiv="x-ua-compatible" content="ie=edge">  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/popper.min.js"></script>  <script src="https://kit.fontawesome.com/4ccd9cbb4a.js" crossorigin="anonymous"></script>    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">    <link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">    <link href="css/styles.css" rel="stylesheet">    <title>Ristorante Con Fusion</title></head>我還嘗試使用 cmd 使用 npm 命令安裝腳本,并在我的機(jī)器上本地使用這些文件。但它沒有產(chǎn)生結(jié)果,所以我嘗試使用文件 https 文件包含格式。這是我的 Package.json 文件{  "name": "confusion",  "version": "1.0.0",  "description": "This is a website for Ristorante Con Fusion",  "main": "index.html",  "scripts": {    "start": "npm run lite",    "test": "echo \"Error: no test specified\" && exit 1",    "lite": "lite-server"  },  "author": "",  "license": "ISC",  "devDependencies": {    "lite-server": "^2.5.4"  },  "dependencies": {    "bootstrap": "^4.0.0",    "bootstrap-social": "^5.1.1",    "font-awesome": "^4.7.0",    "jquery": "^3.3.1",    "popper.js": "^1.12.9"  }}
查看完整描述

2 回答

?
心有法竹

TA貢獻(xiàn)1866條經(jīng)驗(yàn) 獲得超5個(gè)贊

你需要添加 type="text/css"

 <link type="text/css" rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">



查看完整回答
反對 回復(fù) 2021-11-04
?
30秒到達(dá)戰(zhàn)場

TA貢獻(xiàn)1828條經(jīng)驗(yàn) 獲得超6個(gè)贊

嘗試從這樣的節(jié)點(diǎn)模塊導(dǎo)入引導(dǎo)程序

const bootstrap = require('bootstrap');


查看完整回答
反對 回復(fù) 2021-11-04
  • 2 回答
  • 0 關(guān)注
  • 177 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)