billboard.js mouserover expand disable 마우스 오버시 확대되는걸 막을때 사용 point: { focus: { expand: { enabled: false } } }
해당 달이 몇주가 있는지 확인할 때 function maxWeeksInMonth(year, month) { var firstOfMonth = new Date(year, month-1, 1); var lastOfMonth = new Date(year, month, 0); var used = firstOfMonth.getDay() + lastOfMonth.getDate(); return Math.ceil( used / 7); }
리액트 프로젝트 생성 > npx create-next-app@latest --typescript 생성된 프로젝트에서 아래 명령어 실행 > npm install -D tailwindcss postcss autoprefixer > npx tailwindcss init
First remove node-sass: yarn remove node-sass If you use npm: npm uninstall node-sass Then install sass instead of node-sass: yarn add -D sass or npm i -D sass Finally your SCSS and Sass files will be correctly compiled! https://stackoverflow.com/questions/70281346/node-js-sass-version-7-0-0-is-incompatible-with-4-0-0-5-0-0-6-0-0
2021/02/19 - [Typescript] - [Typescript/1Day] 실습준비 2021/02/22 - [Typescript] - [Typescript/2Day] Types javascript에서 함수는 일급(first-class) 객체이다. 1. 함수선언방법 // 이름을 붙인 함수 function getName(name: string) { return 'hello ' + name } // 함수표현식 let getName2 = function (name: string) { return 'hello' + name } // 화살표 함수 표현식 let getName3 = (name: string) => { return 'hello' + name } // 단축형 화살표 함수 표현식 let getNam..
2021/02/23 - [ALL] - [Typescript/3Day] 함수 (1) 2021/02/22 - [Typescript] - [Typescript/2Day] Types 2021/02/19 - [Typescript] - [Typescript/1Day] 실습준비 타입스크립트인만큼 타입을 배워보자 1. any 타입들의 대부분으로 뭐든지 할수 있지만 꼭 필요한 상황이 아니면 쓰지마라 (하지만, 실무에서 어쩔수 없이 쓰게되는것들이 있음..) 2. unknown any를 쓸일이 있다면 any대신 unknown을 사용하자. any처럼 모든값을 사용할수 있지만 타입을 검사하기 전까지는 값을 사용할수 없게 강제한다. let a : unknown = 30 // unknown let c = a + 10 // erro..
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.