| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- FRONT
- Package
- Chart
- axios
- Download
- 이미지
- react
- develop
- CSS
- vue-cli-service
- error
- 시멘틱태그
- JavaScript
- type
- 프론트엔드
- form
- TradingVIew
- antd
- frontend
- components
- npm
- 프론트엔드개발
- NeXT
- err
- 리액트기초
- 리액트
- 상태관리
- useState
- VUE
- vscode
Archives
- Today
- Total
목록Mobile (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