Skip to content

Commit

Permalink
chore: update example 馃暫
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Nov 1, 2022
1 parent c7a6988 commit 630c854
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 15 additions & 0 deletions example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
@image-loaded="onImageLoad"
@image-removed="onImageRemove"
/>
<!-- Netlify Badge -->
<div class="absolute bottom-4 right-4">
<a
href="https://app.netlify.com/sites/v-image/deploys"
aria-label="View deploys on Netlify"
target="_blank"
rel="noopener noreferrer"
class="gray-400"
>
<img
src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg"
alt="Deploys by Netlify"
/>
</a>
</div>
</template>

<script lang="ts">
Expand Down
10 changes: 0 additions & 10 deletions example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,5 @@ import vue from '@vitejs/plugin-vue';
import WindiCSS from 'vite-plugin-windicss';

export default defineConfig({
base: '/v-image/',
// optimizeDeps: {
// include: ['dash-shaka-playback', 'clappr'],
// },
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
plugins: [vue(), WindiCSS()],
});

0 comments on commit 630c854

Please sign in to comment.