Skip to content

Commit 0b6df68

Browse files
committed
docs(vue): udate live reload page
1 parent 9ec7bdf commit 0b6df68

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

docs/vue/your-first-app/7-live-reload.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -142,39 +142,6 @@ const showActionSheet = async (photo: UserPhoto) => {
142142
Add a click handler to the `<ion-img>` element. When the app user taps on a photo in our gallery, we’ll display an [Action Sheet](../../api/action-sheet.md) dialog with the option to either delete the selected photo or cancel (close) the dialog.
143143

144144
```vue
145-
<<<<<<< Updated upstream
146-
<template>
147-
<ion-page>
148-
<ion-header>
149-
<ion-toolbar>
150-
<ion-title>Photo Gallery</ion-title>
151-
</ion-toolbar>
152-
</ion-header>
153-
<ion-content :fullscreen="true">
154-
<ion-header collapse="condense">
155-
<ion-toolbar>
156-
<ion-title size="large">Photo Gallery</ion-title>
157-
</ion-toolbar>
158-
</ion-header>
159-
<ion-grid>
160-
<ion-row>
161-
<ion-col size="6" :key="photo.filepath" v-for="photo in photos">
162-
<!-- CHANGE: Add a click event listener to each image. -->
163-
<ion-img :src="photo.webviewPath" @click="showActionSheet(photo)"></ion-img>
164-
</ion-col>
165-
</ion-row>
166-
</ion-grid>
167-
<ion-fab vertical="bottom" horizontal="center" slot="fixed">
168-
<ion-fab-button @click="addNewToGallery()">
169-
<ion-icon :icon="camera"></ion-icon>
170-
</ion-fab-button>
171-
</ion-fab>
172-
</ion-content>
173-
</ion-page>
174-
</template>
175-
176-
<!-- Same old code from before. -->
177-
=======
178145
<ion-grid>
179146
<ion-row>
180147
<ion-col size="6" :key="photo.filepath" v-for="photo in photos">
@@ -183,7 +150,6 @@ Add a click handler to the `<ion-img>` element. When the app user taps on a phot
183150
</ion-col>
184151
</ion-row>
185152
</ion-grid>
186-
>>>>>>> Stashed changes
187153
```
188154

189155
Remember that removing the photo from the `photos` array triggers the `cachePhotos` method for us automatically.

0 commit comments

Comments
 (0)