전체 글 44

React native expo webview 프로젝트 생성

workspace 생성 D:\dev>mkdir reactnative D:\dev>cd reactnative node.js 별도 설치 node.js로 expo-cli 설치 D:\dev\reactnative> npm install expo-cli 프로젝트 생성 npx expo init {프로젝트명} d:\dev\reactnative> npx expo init react_native_webview $ expo init is not supported in the local CLI, please use npx create-expo-app instead 에러가 발생할경우 npx create-expo-app {프로젝트명} d:\dev\reactnative> npx create-expo-app react_native_..

React native 2023.02.27

인텔리제이 + 스프링 프로젝트 생성(IntelliJ + Maven)

1. New Project 클릭 2. Maven 선택 3. Artifact Coordinates를 클릭하여 프로젝트명과 GroupId를 작성한다. 4. project에서 마우스 우클릭하여 Add Framework Support 선택 5. Spring MVC 선택 6. pom.xml에서 라이브러리를 관리할 것이기 때문에 lib폴더를 삭제한다 Project Structure [Ctrl+Shift+Alt+s] > Libraries에서 프레임워크를 통해 받아진 라이브러리를 삭제한다. 7. pom.xml에서 springframework 필수적인 의존 라이브러리를 추가 (수정후 우측의 M의 아이콘을 클릭) 8 8 5.2.3.RELEASE org.springframework spring-webmvc ${org.spr..

java 2022.08.17

iframe에 페이지가 나오지 않는 경우 X-Frame-Options

외부 도메인에서 iframe으로 허용을 안해주는 경우가 있습니다. nginx의 경우 ssl.conf 화일이나 설정 화일에 add_header X-Frame-Options "allow-from http://도메인명"; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header Content-Security-Policy "frame-ancestors http://도메인명"; proxy_cookie_path / "/; secure; SameSite=None"; 추가합니다. 크롬의 경우에 'KISA 의거한 보안규약으로 생성된 CSRF토큰이 만료되었습니다. 새로고침을 통해 새로운 토큰으로 교체합니..

nginx 2022.04.26

git stash 임시 저장(git stash) / pop, drop

branch 리스트 $ git branch * admin_dev css_dev develop master admin_dev 브랜치로 작업중 커밋을 하지 않고 master 브랜치로 checkout 를 하려면 이와 같은 에러가 발생합니다. Jupiter@DESKTOP-2QRNHC6 MINGW64 /d/dev/workspace/project (admin_dev) $ git checkout master error: Your local changes to the following files would be overwritten by checkout: frontend/src/test.vue Please commit your changes or stash them before you switch branches. g..

gitlab 2022.04.21