root layout

패스트캠퍼스

  1. 강의 질문
  2. 개발/데이터

파트6에 8 npm 프로젝트 생성 입니다.

2025.09.02 19:16 작성

scss 가 index.html 에 안멎는데요


<!DOCTYPE html>

<html lang="ko">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Document</title>

  <link rel="stylesheet" href="./scss/main.scss" />

  <script defer src="./main.js"></script>

</head>

<body>



<div class="dropdown">

  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">

    Dropdown button

  </button>

  <ul class="dropdown-menu">

    <li><a class="dropdown-item" href="#">Action</a></li>

    <li><a class="dropdown-item" href="#">Another action</a></li>

    <li><a class="dropdown-item" href="#">Something else here</a></li>

  </ul>

</div>



</body>

</html>





$color: royalblue;



body {

  background-color: $color;

}




{

  "name": "bootstrap-test",

  "version": "1.0.0",

  "main": "main.js",

  "scripts": {

    "dev": "parcel index.html",

    "build": "parcel build index.html"

  },

  "keywords": [],

  "author": "",

  "license": "ISC",

  "description": "",

  "devDependencies": {

    "parcel-bundler": "^1.12.5",

    "sass": "^1.91.0"

  },

  "dependencies": {

    "bootstrap": "^5.3.8"

  }

}




인데요


강의가 21년꺼라 부트스트랩 사이트도

반뀐게 많고 코드 복붙 하려 해도 위치도 다르고

강의 업데이트 좀 하세요


4년이 지난걸 업데이트를 안합니까?


점 점 강의 들을 수록 아오 진짜......


답변 

연관 질문

커뮤니티 질문보기