Vue? ?? ???? ???? ?? ? ?? ??? ???? ??? ??????
?? ? ????? ???? ???? ?? ? ???? ?? ???? ?? ?????. ?? ???? ????? ?????? Vue? ? ??? ?? ??? ? ?? ??? ??? ??? ??? ?????. ?? ???? Vue? ?? ???? ?? ? ? ?, ? ?? ??? ???? ??? ???? ?? ??? ?????.
?? ?? ???? ??? ?? ??? ?????. Vue? v-for ???? ???? ??? ??? ???? ???? ? ????. ??? ??? ???? ?????:
<template> <div> <img class="thumbnail lazy" src="/static/imghw/default1.png" data-src="image.src" v-for="(image, index) in images" :key="index" : @click="toggleModal(index)"> <Modal :show="modalShow" :image="modalImage" @close="closeModal"> </div> </template> <script> import Vue from 'vue'; import Modal from './Modal.vue'; export default { components: { Modal }, data() { return { images: [ {src: 'image1.jpg'}, {src: 'image2.jpg'}, {src: 'image3.jpg'} ], modalShow: false, modalImage: '' } }, methods: { toggleModal(index) { this.modalImage = this.images[index].src; this.modalShow = true; }, closeModal() { this.modalShow = false; } } } </script>
? ????? ??? ????? ???? ???? ?? ? ?? ??? ??????. ?? ???? ?? ??? ?? ?? ?? ??? ???? ????. ? ???? ?? ??? @click="toggleModal(index)"? ????? ???? ??? ?ggleModal ???? ??????.
toggleModal ???? ?? ??? ???? src? modalImage? ???? modalShow? true? ???? ?? ??? ?????. ?? ?? ???? Modal? ??? ??? ????:
<template> <div v-if="show" class="modal"> <span @click="close" class="close">X</span> <img class="modal-image lazy" src="/static/imghw/default1.png" data-src="image" : alt="Vue? ?? ???? ???? ?? ? ?? ??? ???? ??? ??????" > </div> </template> <script> export default { props: ['show', 'image'], methods: { close() { this.$emit('close'); } } } </script> <style scoped> .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; } .modal-image { max-width: 80%; max-height: 80%; } .close { position: absolute; top: 10px; right: 10px; cursor: pointer; color: #ffffff; font-size: 24px; } </style>
Modal ??????? ??? ?? ???? ?? ?? props ??? ?????. ?? ???? ?? ??? ???? ???? img ??? ???? ????. ?? ??? ???? ?? ???? ????? this.$emit('close')? ?? ?? ???? ?? ????? ?????.
? ????? ?? ??? ???? ???? ?? Modal ?? ??? ???? ??????.
????? ?? ?? ??? ??? ? ?? ?? ??? ? ?? ???? ???? ???.
<style> .thumbnail { width: 100px; height: 100px; object-fit: cover; margin: 10px; cursor: pointer; } </style>
? ?????? ???? ??? ??? ???? ??? ??? ???? ???? ??? ?????. ??? ? ????.
? ??? ?? ???? ?? ? ??, ? ?? ??? ?? ??? ? ????. ???? ?? ??? ??? ??? ??? ?? ???. ???? ????ggleModal ???? ???? ?? ?? ??? ???? ??? ???? ?? ??? ?????.
? ??? Vue? ?? ???? ???? ?? ? ?? ??? ???? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? Python ? ?? ????? ????? ?? ??? ?????. 1. Django ?? Flask? ?? ??? ??? ??? ??????. 2. ??????? ???? sqlalchemy? ?? ORM? ??????. 3. ??? ??? ???? Vue ?? React? ??????. 4. ???? ???? Pytest ?? UnitTest? ??????. 5. ?? ????? ???? Docker ? Heroku ?? AWS? ?? ???? ??????. ??? ??? ?? ???? ???? ? ?? ????? ?? ? ? ????.

SPA (Single Page Applications) Laravel ? Vue.js? ???? ?? ? ? ????. 1) Laravel?? API ??? ? ????? ???? ??? ??? ?????. 2) vue.js?? ?? ??? ? ??? ??? ??? ??? ????? ? ??? ?? ??? ??????. 3) CORS? ???? ??? ?? ??? AXIOS? ??????. 4) Vuerouter? ???? ??? ??? ???? ??? ??? ??????.

??? ?? ??? ???? ??? URL? ?? ??? ???? ????. Vuerouter ? Reactrouter? URL ??? ?? ?? ?? ??????? ?? ???? ??? ??? ?????. ?? ???? ??? ?????. 1. ?? ???, ?? ?? ??? ?? ?? ?? ??? ?????. 2. ?? ???, URL ?? ??? ?? ?? ?? ?? ??; 3. Route Guard, ?? ?? ??? ?? ??? ?? ?? ??.

??? transforminvue3aimedtosimplify handlingreactivedatabyautomicallytrackingandmaningreactivity withoutequiringmanualref () ?? valueusage.itsivingtoreduceboilerplateandimprovecodeReadabilitabledevariableletandsconstasmonclicallicallicallicallicallicallicallicallicallicallicallicalliceLerplateNclateMconsconclicallicallicallicallicallicallicallicallicalliceLerplateN

vue.js? ?? ?? ???? React ?? ?? ??? ??? ????. 1) vue.js? ??? ??? ?? API? ???? ?? React? JSX ? ?? ?? ??? ?????. 2) vue.js? ?? ? ???? ???? React? ??? ???? ?? DOM? ?????. 3) vue.js? ?? ???? ??? ???? ?? React? ? ?? ??? ??? ?????.

??? ? ??? invueAppsareprimally handledusingthevuei18nplugin.1.installvue-i18nvianpmoryarn.2.createlocalejsonfiles (? : en.json, es.json) fortranslationMessages.3

vue.js? ?? ????? ?? ? ? ?? .defineProperty? ?? ??? ?? ?? ?? ?????? ?????? ????. ???? ??? ????. 1. VUE.SET ???? ???? ?? ???? ?????. 2. ?? ??? ? ??????. 3. VUE? ? ?? ? ???? ??? ???? ??? ??????.

VUE? ?? ?? ? ??? ?? ??? ??? ????? ?? : 1. V-Once ???? ???? ?? ???? ???? ???? ????? ????. 2. ?? ???? ???? Vue-Virtual-Scroller ????? ??? ?? ??? ??? ?? ? ??????. 3. ?? ???? ??? ?? Keep-Alive ?? V-Once? ?? ?? ?? ??; 4. ?? ? ?? ? ???? ???? ?? ? ??? ????? ? ??? ??? ????. 5. V-FOR?? ?? ? ??, ???? ??? ??? ??? ?? ?? ??? ???? ?? ??? ?? ? ?? ??? ?????. ??? ??? ?? ???? ????? ???? ? ????.
