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