일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- CSS
- form
- antd
- type
- vscode
- vue-cli-service
- Package
- useState
- develop
- 시멘틱태그
- react
- axios
- 상태관리
- error
- 리액트기초
- TradingVIew
- Download
- 프론트엔드
- npm
- 이미지
- NeXT
- JavaScript
- 프론트엔드개발
- err
- FRONT
- VUE
- components
- frontend
- 리액트
- Chart
Archives
- Today
- Total
목록Web (1)
개발쬬

환경 : Vue2 + vue-router@3.5.4 + vuex@3 main.js const isMobileDevice = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent ) ? true : false; //전역설정 Object.defineProperty(Vue.prototype, "$isMobileDevice", { value: isMobileDevice, }); //this.$isMobileDevice 로 활용이 가능하다 Test.vue if (this.$isMobileDevice === true) { url = res.data.mobile_url; } else { url = res.da..
쬬의 Vue
2022. 8. 17. 16:25