본문 바로가기
보드게임 긱 추천 게임
Wizard Thumbnail
BoardGameGeek 사이트에서 인기순위 상위 100개 중 랜덤 3개를 보여줍니다.
BGG
귀펀치토끼는 부서지지 않는다.
주소(D)

분류 전체보기

(168)
[VUE] 페이지네이션 API 타입 정의 src/interface/page.ts export interface PageType { order: string, page: number, take: number, } API 정의 src/apis/page.ts /* 사전신청 조회 */ export const getReserve = (params: PageType): Promise => { const res = axiosInstance.get('manager/xxxxxx/list', { params }); return res; }; 타입 불러와서 param 정의하기 API 불러와서 param을 패러미터로 넣고 List에 담기 src/views/Main.vue const param: PageType = { order: 'DESC', page: ..
[VUE] 토큰체크하기 오늘 받은 요청사항: 홈페이지를 제외한 모든 페이지에 토큰 체크 로직 넣어주세요. 외부 유출되면 안됩니다. 매니저 접근은 https://xxxxxx.com/manager 이렇게 가고 토큰이 없으면 login 화면을, 있으면 apply 화면을 보여주면 되겠네요. ❖ 토큰체크 :로그인 안 했는데 관리자모드로 진입하면 안 되니까 토큰을 체크하는 것입니다. 1. src/utils/authentication.ts에서 checkTocken() 정의하기 export const checkToken = async (next: NavigationGuardNext, type: string) => { const accessToken = getStorage('accessToken'); const refreshToken = ge..
AWS CLI 사용해서 S3 버킷 다루기 awscli 1. python3 다운로드 python3 --version //파이썬 설치 확인 pip install awscli aws help //설치가 잘 되었는지 확인 aws configure //aws cli 사용하기 전 AWS IAM 사용자 추가 AWS Access Key ID [None]: (excel로 받은 거) AWS Secret Access Key [None]: (excel로 받은 거) Default region name [None]: ap-northeast-2 Default output format [None]: (안 쓰고 엔터) aws s3 ls //내 계정의 버킷 리스트 export AWS_DEFAULT_PROFILE=dullabam "scripts": { "serve": "vue-..
[vue.js] font awesome 아이콘 넣기 yarn add @fortawesome/fontawesome-svg-core Free icons styles yarn add @fortawesome/free-solid-svg-icons yarn add @fortawesome/free-regular-svg-icons yarn add @fortawesome/free-brands-svg-icons yarn add @fortawesome/vue-fontawesome@latest-3 import { createApp } from 'vue'; import { createPinia } from 'pinia'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; import { faUserSecret, f..
Family Guy 07x02 - I Dream of Jesus Oh, my God. This is "Surfin' Bird" by the Trashmen. This is my favorite song of all time. A- well-a bird, bird, bird B- Bird's the word A- well-a bird, bird, bird Well, the bird is the word A- well-a bird, bird B- Bird's the word A- well-a bird, bird, bird B- Bird's the word A- well-a bird, bird, bird Well, the bird is the word Chris, don't you know about the bird? Meg, everybody knows That the ..
[vue3] 함수 실행 시 유효성 검사 const signup = async => { const emailRegex = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/; if (!emailRegex.test(email.value)) { AntNotification.error({ message: '유효한 이메일 형식으로 입력해주세요.' }); return; } try { const clientInfo = { name: shopName.value, phone: phoneNumber.value, email: email.value, provider: '홈페이지', managerId }; const resultClientSignup = await postClientSignup(clientInfo); } 두 코..
이미지 저장
이미지 저장
완료
내 컴퓨터