본문 바로가기

개발이야기

(62)
'v-slot' directive doesn't support any modifier. 작성내용 수정 수정전 : v-slot:header.settlement_amount 수정후 : v-slot:[`header.settlement_amount`] 이전에 잘못된 정보를 보신분이 계시다면 사과 말씀드립니다.
mac 터미널에서 code . 로 vscode 실행 1. Launch VS Code. 2. Open the Command Palette (Ctrl+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command. 3. Restart the terminal for the new $PATH value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.
우분투 vscode 한글 입력 안될때 1) 기존 설치된 vscode 삭제 : sudo snap remove code 2) .deb 형식의 vscode 직접 다운 : https://code.visualstudio.com/download Download Visual Studio Code - Mac, Linux, Windows Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. cod..
자바스크립트 GET 파라메터 받기 자바스크립트로 GET 파라메터를 쉽게 받기 위해 검색하다 보니 알게된 함수 let params = new URLSearchParams(window.location.search); let param_type = params .get("type"); 익스프로러에서는 지원이 안된다고 하는데 익스프로러에서도 console.log가 잘 찍히는걸 확인
타입스크립트 프로젝트 만들기 VSCode의 터미널에서 1) 디렉토리 생성 2) 생성한 디렉토리에서 npm init --y 입력 ( package.json 파일 생성 ) 3) npm i -D typescript ts-node 입력 4) npm i -D @types/node 입력 5) npm i 입력 6) tsc --init ( tsconfig.json 파일 생성 ) 7) tsconfig.json 파일 설정 { "compilerOptions": { "module": "commonjs", "esModuleInterop": true, "target": "es5", "moduleResolution": "node", "outDir": "dist", "baseUrl": ".", "sourceMap": true, "downlevelIteratio..
타입스크립트 개발환경 만들기(타입스크립트 컴파일러 설치 및 실행) 1) C드라이브-> study 폴더 생성 2) study 폴더에서 오른쪽 마우스 클릭 3) VSCode로 열기 4) 보기 -> 터미널 클릭 5) 터미널에서 npm i -g typescript 입력 6) 터미널에서 tsc -v 입력 7) scoop install touch 입력 8) VSCode 왼쪽상단을 보면 hello.ts 파일이 생성된것을 확인 9) console.log('hello world!'); 입력 후 저장 ( 컨트롤+S ) 10) 터미널에서 tsc hello.ts 입력 11) VSCode 왼쪽상단을 보면 hello.js 파일이 생성된것을 확인 12) node hello.js 입력시 13) Hello world! 노출 확인
타입스크립트 개발환경 만들기(nodejs + 크롬 설치) 파워셸에서 1) scoop install nodejs-lts 입력 2) node -v 입력 ( 노드 버전 확인 ) 3) scoop install chromium 입력 4) chrome 입력 ( 크롬 실행 )
타입스크립트 개발환경 만들기(VSCode 설치) 파워셸에서 1) scoop bucket add extras 입력 2) scoop install vscode 입력 3) C:\C:\Scoop\apps\vscode\current\vscode-install-context.reg 실행 ( 마우스 오른쪽 클릭시 VSCode 실행 매뉴 추가)