vue.js
-
(국비교육) 72 - vue ( 반복문 + 구구단 + 소리버튼 + 증가버튼 + div)개발/국비교육 2023. 9. 13. 11:46
■ vue * 요청사항 - babel : Babel은 최신 버전의 JavaScript 코드(ES6+ 문법)를 브라우저나 환경에서 지원하는 이전 버전의 JavaScript 코드로 변환해주는 도구 - eslint : ESLint는 코드에서 발견된 잠재적인 문제나 스타일 가이드의 위반을 식별하고 보고해주는 도구 vs 코드에서 새 터미널로 npm new serve 로 열어주기 중요한 파일 3가지 scope 이 스타일은 여기서만 쓰이고 다른 곳에서는 쓰이지 않는다는 뜻이다. 여기서의 #app 의 스타일은 index.html 의 id="app" 의 스타일을 주는 것이다. props 와 emit prop 는 부모 컴포넌트에서 자식 컴포넌트로 데이터 전달 방법 emit 은 자식 컴포넌트에서 부모 컴포넌트로 데이터 전달..
-
(국비교육) 71 - 11회차 시험 + vue개발/국비교육 2023. 9. 12. 15:04
■ 11회차 시험 [문항1] 파이썬 언어의 특징에 대해 서술하세요.(10점) 1. 파이썬은 스크립트 언어로 컴파일 없이 바로 실행 결과 확인 가능하다. 2. 동적 타입 언어로 변수의 자료형을 지정하지 않고 단순히 선언하는 것으로 값을 지정할 수 있다. 3. 플랫폼 독립적이다. 따라서 리눅스, 유닉스, 윈도우, 맥 등 대부분의 운영체제 OS 에서 모두 동작한다. [문항2] 설치된 파이썬의 버전을 확인하는 명령을 적으시오.(10) python --version [문항3] 실행결과를 적으시오.(10) REMEMBR AND STR [문항4] 실행결과를 적으시오.(10) False [문항5] 실행결과를 적으시오(10) a= 20 b= 2 [문항6] mariadb와 연결하기 위해 필요한 import 문장을 적으세요..